Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

as_string_pad

time.duration.as_string_pad

Returns a compact string representation of this duration using
a short unit name with left-padded output for alignment.

The unit is determined by `unit_for_as_string`, preferring the
largest unit whose integer part still contains at least two digits.

The representation is not exact. Fractional parts are omitted.

Example:

0.099dev (GIT hash a1331a3dc7ff37424401d3c7d0dba5be1302516f)
last changed: 2026-07-23