Config.field_centi: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/daemon/config.bend as Config Lines 89-91 of cswap-bend-cli@0.1.0.0/daemon/config.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/daemon/config.bend&start_line=89&end_line=91 import Base import cswap-bend-cli@0.1.0.0/json.bend as Json # A numeric settings field, centi, clamped; the default when absent or not a number. def field_centi(+j: Json.Json, +key: String, +d: U32, +lo: U32, +hi: U32) -> U32: field_centi2(centi_of(num_text(Json.get(key, j))), d, lo, hi) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/config.bend&name=centi_of https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/config.bend&name=field_centi2 https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/config.bend&name=num_text https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=Json https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=get