Quintiq file version 2.0
#parent: #root
Method FormatStringToNumber (
  String value,
  Number defaultnumber
) as Number id:Method_ApplicationMacroPlanner_FormatStringToNumber
{
  #keys: '[139394.0.458466084]'
  Body:
  [*
    // Format string to number
    
    conv := StringToNumber::ISOConverter();
    converted := guard( conv.Convert( value ), defaultnumber );
    
    return converted;
  *]
}
