Method ParseDouble
- Namespace
- GrindFest
- Assembly
- GrindFest.dll
ParseDouble(double, in int, double, bool)
Parses the double value into short scale notation.
public static string ParseDouble(double value, in int precision = 3, double startShortScale = 1000000, bool useSymbol = false)
Parameters
valuedoubleThe input value that will be parsed.
precisionint(Optional) The decimal precision that should be represented (subject to data type round off). Default value is 3.
startShortScaledouble(Optinal) Set the value to begin parsing to short scale. Default value is 1 million.
useSymbolbool(Optional) use the single symbol list for more shortened notation. currently supports only to Decillion. Default value is false.
Returns
- string
The short scale string.