Decimal
Fixed-precision decimal values for exact, financial-grade arithmetic.
Syntax
decimal = ["-" | "+"] digit+ [ "." digit+ ] "m"
digit = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9"Structural characters
Symbol
Name
Unicode
Description
Valid forms
---
123.45m, 123m, 0.001m, -789.01m, 0m, 0.0mPrecision and scale
Invalid forms
Preservation of structure
See Also
Last updated
Was this helpful?
