go back Home

BigDecimal

BigDecimal values may be real numbers with no minimum or maximum unless specified otherwise. Negative numbers must be prefixed with a minus sign. If the field, value or both are omitted, null will be used instead.

Example

For example, if you had a widget with an id BigDecimal field and an weight BigDecimal field, it might look like:

XML

<widget id="1" weight="-5.25"/>

JSON

{"__type":"widget", "id":"1", "weight":"-5.25"}

See also