This commit is contained in:
Mughur
2023-02-24 14:10:57 +02:00
committed by GitHub
parent 6839a456ac
commit ee3b220858
2 changed files with 5 additions and 5 deletions

View File

@@ -8,10 +8,10 @@ formatRam() Netscript Function
:param number fractionalDigits: Number of digits to show in the fractional part of the decimal number.
:param number suffixStart: How high a number must be before a suffix will be added.
:param boolean isInteger: Whether the number represents an integer. Integers do not display fractional digits until a suffix is present.
:returns: Formatted string.
Converts a number into a string with ram formatting.
Converts a number into a string with formatting.
The format depends on the Numeric Display settings (all options on the "Numeric Display" options page).