def Duration.show_ms.pos
import bend-kit-time@0.3.0.0/time.bend as Timeimport Base
import bend-kit-int@0.2.0.0/int.bend as Int
308# Milliseconds with six decimal places.
309def Duration.show_ms.pos(d: Duration) -> String:
310 match d:
311 case Duration{s, +n}:
312 Int.I64.show(Duration.to_ms(Duration{s, n})) ++ "." ++ pad((n % 1000000 : U32), 6n)