fridom.framework.utils.formatting.humanize_length

fridom.framework.utils.formatting.humanize_length#

fridom.framework.utils.formatting.humanize_length(value: float)[source]#

Format a length in human readable format [mm, cm, m, km].

Parameters#

valuefloat

The length to format.

Returns#

str

The formatted length.