This commit is contained in:
Mughur 2023-02-24 14:10:57 +02:00 committed by GitHub
parent 6839a456ac
commit ee3b220858
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

@ -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 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 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. :param boolean isInteger: Whether the number represents an integer. Integers do not display fractional digits until a suffix is present.
:returns: Formatted string. :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). The format depends on the Numeric Display settings (all options on the "Numeric Display" options page).

@ -18,9 +18,9 @@ This includes information such as function signatures, what they do, and their r
tprint() <basicfunctions/tprint> tprint() <basicfunctions/tprint>
tFormat() <basicfunctions/tFormat> tFormat() <basicfunctions/tFormat>
nFormat() <basicfunctions/nFormat> nFormat() <basicfunctions/nFormat>
formatNumber() <basicfunctions/nFormat> formatNumber() <basicfunctions/formatNumber>
formatPercent() <basicfunctions/nFormat> formatPercent() <basicfunctions/formatPercent>
formatRam() <basicfunctions/nFormat> formatRam() <basicfunctions/formatRam>
disableLog() <basicfunctions/disableLog> disableLog() <basicfunctions/disableLog>
enableLog() <basicfunctions/enableLog> enableLog() <basicfunctions/enableLog>
isLogEnabled() <basicfunctions/isLogEnabled> isLogEnabled() <basicfunctions/isLogEnabled>