Méthode | Description | |
---|---|---|
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.
|
Méthode | Description | |
---|---|---|
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. |
Résultat | String |
public static FormatInteger ( int i ) : String | ||
i | int | |
Résultat | String |
public static FormatMemory ( long memory ) : String | ||
memory | long | The amount of bytes. |
Résultat | String |
public static FormatPercent ( double e ) : String | ||
e | double | The percent to format. |
Résultat | String |
public static FormatPercentWhole ( double e ) : String | ||
e | double | The format to percent. |
Résultat | String |
public static FormatTimeSpan ( int seconds ) : String | ||
seconds | int | The number of seconds in the timespan. |
Résultat | String |