function subscript(value: string): string
Formats the decimal part of small numbers using subscript characters to represent leading zeros (e.g., 0.0₄123).
Params
- value (string): The number string to format.
Returns
(string): The formatted number string in the specified notation.
Example
value
function scientific(value: string): string
Formats a number string using standard scientific notation (e.g., 1.23e+5).
Params
- value (string): The number string to format.
Returns
(string): The formatted number string in the specified notation.
Example
value