Метод | Описание | |
---|---|---|
FormatDouble ( double d, int i ) : String |
Format a double.
|
|
FormatInteger ( int i ) : String | ||
FormatMemory ( long memory ) : String |
Format a memory amount, to something like 32 MB.
|
|
FormatPercent ( double e ) : String |
Format a percent. Using 6 decimal places.
|
|
FormatPercentWhole ( double e ) : String |
Format a percent with no decimal places.
|
|
FormatTimeSpan ( int seconds ) : String |
Format a time span as seconds, minutes, hours and days.
|
Метод | Описание | |
---|---|---|
Format ( ) : System |
Private constructor.
|
public static FormatDouble ( double d, int i ) : String | ||
d | double | The double value to format. |
i | int | The number of decimal places. |
Результат | String |
public static FormatInteger ( int i ) : String | ||
i | int | |
Результат | String |
public static FormatMemory ( long memory ) : String | ||
memory | long | The amount of bytes. |
Результат | String |
public static FormatPercent ( double e ) : String | ||
e | double | The percent to format. |
Результат | String |
public static FormatPercentWhole ( double e ) : String | ||
e | double | The format to percent. |
Результат | String |
public static FormatTimeSpan ( int seconds ) : String | ||
seconds | int | The number of seconds in the timespan. |
Результат | String |