StringNumericExtension extension

on

Methods

asInt() int
asSatsInt() int
assumes the string is already in sats.
toCommaString({String comma = ','}) String
takes a numeric string and inserts commas
toDouble() double
toSats([int divisibility = 8]) int
assumes the string is an amount