def decimal
import yaml-for-bend@0.1.1.0/num.bend as Numimport Base
105# Decimal digits as they'd be written, without zeros in front.
106def decimal(+s: String) -> String:
107 +ds = drop.zeros(s)
108 Bool.pick(String, String.is_empty(ds), "0", ds)