def tenths

cswap-bend-cli@0.1.0.0 · poll.bend:112

import cswap-bend-cli@0.1.0.0/poll.bend as Poll
import Base

112# `42.5` -> 425, rounded to a tenth; None for anything but a plain decimal.
113def tenths(s: String) -> Maybe<&2, U32>:
114  tenths.parts(String.split(s, '.'))

Uses (6)

Used by (1)