Home > bitburner > Format Format interface Format API Signature: export interface Format Methods Method Description money(n, exponential) Format a number as an amount of money. number(n, fractionalDigits, suffixStart, isInteger) Format a number. percent(n, fractionalDigits, suffixStart) Format a number as a percentage. ram(n, fractionalDigits) Format a number as an amount of ram. time(milliseconds, milliPrecision) Format time to a readable string.