Skip to main content

Decimal

Decimal is a fixed precision signed numeric value encoded as a string. Primarily designed for representing monetary values in a given currency. A decimal value must strictly match the following regular expression /^-?([0-9]|([1-9][0-9]+))(.[0-9]+)?$/g

Examples of decimal values: "100", "123.01", "-17.621"

scalar Decimal