def frac
import cswap-bend-cli@0.1.0.0/daemon/events.bend as Eventsimport Base
26# Digits after the point with a trailing zero dropped, at least one digit.
27def frac(+cents: U32) -> String:
28 sel(U32.is_eq((cents % 10 : U32), 0), U32.show((cents / 10 : U32)), two(cents))