Method ParseFloat
- Namespace
- GrindFest
- Assembly
- GrindFest.dll
ParseFloat(float, in int, in float, in bool)
Parses the float value into short scale notation.
public static string ParseFloat(float value, in int precision = 3, in float startShortScale = 1000000, in bool useSymbol = false)
Parameters
valuefloatThe 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.
startShortScalefloat(Optional) 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.
Returns
- string
The short scale string.