def pct.label
import cswap-bend-cli@0.1.0.0/policy/usage.bend as Usageimport Base
30# 4000 -> "40", 8550 -> "85.5": the reference's `%.10g` for two-digit inputs.
31def pct.label(+c: Nat) -> String:
32 pct.label.pair(Nat.divmod(c, 100n))
import cswap-bend-cli@0.1.0.0/policy/usage.bend as Usageimport Base
30# 4000 -> "40", 8550 -> "85.5": the reference's `%.10g` for two-digit inputs.
31def pct.label(+c: Nat) -> String:
32 pct.label.pair(Nat.divmod(c, 100n))