The counterpart of Daml's Numeric type.
Numeric
We represent Numerics as string in order to avoid a loss of precision. The string must match the regular expression -?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?.
-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?
The counterpart of Daml's
Numeric
type.We represent
Numeric
s as string in order to avoid a loss of precision. The string must match the regular expression-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?
.