Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DecimalValue

A decimal value with precision 38 (38 decimal digits), of which 10 after the comma / period. In other words a decimal is a number of the form x / 10^10 where |x| < 10^38.

The number can start with a leading sign [+-] followed by digits.

Represented as a string to avoid losing precision.

Example:

{
    valueType: 'decimal',
    decimal: '42'
}

To express values in a more concise way, you can have a look at the ValueHelpers.

Hierarchy

  • DecimalValue

Index

Properties

Properties

decimal

decimal: string

valueType

valueType: "decimal"

Generated using TypeDoc