Format the value into alphabet format (a, b, c, ..., z, aa, ab, ac, ... aaa, aab, ... aaaa, ... aaaaaaaaaaaaaaa, ... aaaaaaaaaaaaaaa(2), aaaaaaaaaaaaaaa(3), ...) Basically base 26 for the exponential part / 3 Work in progress
The value to format
The accuracy
The maximum value before switching to an abbreviation
The type of format to use
The starting value. Defaults to 1e15, or 1 quadrillion.
Whether to start at aa instead of a. Defaults to false.
Optional
abbStart: numberThe starting value for abbreviations. Defaults to 9.
Get the abbreviation for a number
The value to get the abbreviation for
The starting value
Whether to start at aa instead of a
The starting value for abbreviations
The list of elements
Engineering format
Format the value into engineering format
The value to format
The accuracy
Format the value into eV (includes metric prefixes)
The value to format
Whether to include /c^2
The formatted value
Use metric instead
Exponential multiplier
The value to exponentiate
The exponent
The base
Format the value into a specific format type
The value to format
The desired accuracy (number of significant figures), defaults to 2
.
The maximum number of decimal places to display, defaults to 9
.
The type of format to use (default "mixed_sc")
Format the gain
The amount
The gain
The type
Optional
acc: numberThe accuracy
Optional
max: numberThe maximum value
Format the multiplier
The value to format
The accuracy
Format the percent
The value to format
Format the reduction
The value to format
Format the value into standard (letter abbv) format
Use format instead (with the type "st")
Format the time
The value to format (in seconds)
The accuracy
The type
Format the time long
The value to format (in seconds)
Whether to include milliseconds
The accuracy
The maximum value
The type
Infinity format
Optional
acc: numberOptional
max: numberLayer format
Optional
max: numberConverts a number to a metric representation based on the specified type.
The number to convert.
The type of metric representation to return.
The metric representation of the number. If the number is greater than the highest metric value, the function returns the highest metric abbreviation.
Mixed scientific format
Format the value into mixed scientific format (standard or scientific depending on the value)
The value to format
Optional
acc: numberThe accuracy
The maximum value
Old scientific format
Format the value into old scientific format
The value to format
The accuracy
Omega format
Format the value into omega format
The value to format
Short omega format
Format the value into short omega format
The value to format
Standard (letter abbv) format
Convert a number to a subscript
The value to convert
Convert a number to a superscript
The value to convert
Alphabet format