Method ParseIntSplit
- Namespace
- GrindFest
- Assembly
- GrindFest.dll
ParseIntSplit(long, in int, in int, in bool)
Parses an int value into short scale notation, splitting the data into the separate parts.
public static ShortScaleData ParseIntSplit(long value, in int precision = 3, in int startShortScale = 1000000, in bool useSymbol = false)
Parameters
valuelongThe 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.
startShortScaleint(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
ParseIntSplit(int, ref ShortScaleData, in int, in int, in bool)
Parses an int value into short scale notation, splitting the data into the separate parts.
public static void ParseIntSplit(int value, ref ShortScaleData data, in int precision = 3, in int startShortScale = 1000000, in bool useSymbol = false)
Parameters
valueintThe input value that will be parsed.
dataShortScaleDataA referencce to an existing data to reuse the same object.
precisionint(Optional) The decimal precision that should be represented (subject to data type round off). Default value is 3.
startShortScaleint(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.