def centi_text

cswap-bend-cli@0.1.0.0 · tui/num.bend:41

import cswap-bend-cli@0.1.0.0/tui/num.bend as Num
import Base

41# "47" -> 4700, "47.5" -> 4750, "47.555" -> 4755; anything else is None.
42def centi_text(+t: String) -> Maybe<&2, U32>:
43  centi_parts(String.split(t, '.'))

Uses (6)

Used by (1)