Skip to main content

Module util

Module util 

Source

Functions§

format_number
Format a number nicely, removing trailing zeros.
nice_step
Round step size to a “nice” value (1, 2, 5, 10, 20, 50, …).