def frac

cswap-bend-cli@0.1.0.0 · daemon/state.bend:81

import cswap-bend-cli@0.1.0.0/daemon/state.bend as State
import Base
import cswap-bend-cli@0.1.0.0/store/base.bend as SBase

81def frac(+c: U32) -> String:
82  SBase.sel.s(U32.is_eq((c % 10 : U32), 0), U32.show((c / 10 : U32)), two(c))

Uses (8)

Used by (1)