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

as_string

time.duration.as_string

 => 
String
[Redefinition of  Any.as_string]
Returns a compact string representation of this duration using
a short unit name without padding.

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:


redefines:

0.099dev (GIT hash 250922c42fb1dcef5ce7ce89820538f53498ca37)
last changed: 2026-08-14