Skip to main content

PRECISION

Precision constants for financial calculations.

Definition

const PRECISION: object

Properties

PRECISION.TOLERANCE

Tolerance for floating point comparisons

Type: Decimal

Value: 'TOLERANCE'

PRECISION.DECIMAL_PLACES

Standard decimal places for currency amounts

Type: 2

Value: 'DECIMAL_PLACES'