Functions§
- format_
int_ exp - Formats a U256 number to string, adding an exponential notation hint.
- format_
uint_ exp - Formats a U256 number to string, adding an exponential notation hint if it
is larger than
10_000
, with a precision of4
figures, and trimming the trailing zeros. - to_
exp_ notation - Returns the number expressed as a string in exponential notation with the given precision (number of significant figures), optionally removing trailing zeros from the mantissa.