Examples:
Modules:
round_sig()
Profiling:
Links:
Versions:
Round to sig significant digits.
sig
Value to round.
Number of significant digits.
Rounded value.
>>> round_sig(1.23456789, sig=2) 1.2 >>> round_sig(1.23456789, sig=4) 1.235