Description
The KiloFormat
method is a static extension method provided by the SandboxSystemExtensions
class. It formats an integer value into a string representation using the "kilo" notation, which is commonly used to represent large numbers in a more readable format. For example, 1,000 would be represented as "1k".
Usage
To use the KiloFormat
method, simply call it on an integer value. This method is particularly useful when you need to display large numbers in a compact and human-readable form.
Example
int number = 1500;
string formattedNumber = SandboxSystemExtensions.KiloFormat(number);
// formattedNumber will be "1.5k"