def num_any
import cswap-bend-cli@0.1.0.0/importu.bend as Importuimport Base
import cswap-bend-cli@0.1.0.0/usage/text.bend as UText
import cswap-bend-cli@0.1.0.0/json.bend as Json
102# Any finite number (the spend amounts may be signed).
103def num_any(j: Json.Json) -> Maybe<&2, String>:
104 match j:
105 case Json.JNum{t}:
106 UText.float(t)
107 case _:
108 None{}