Quintiq file version 2.0
|
#parent: #root
|
Method FormatRealToString (
|
Real value
|
) as String id:Method_ApplicationLibMacroPlanner_FormatRealToString_1
|
{
|
#keys: '[108486.0.1455091752]'
|
Body:
|
[*
|
// Round real to global number of decimals and parse to string
|
value := value.Round( MacroPlan.GlobalParameters_MP().NumberOfDecimals() );
|
conv := RealToString::UserConverter();
|
converted := guard( conv.Convert( value ), '0' );
|
|
return converted;
|
*]
|
}
|