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