Skip to main content

Money

Overview

Money represents a monetary value, including details about currency, fractional digits, and its formatted display value.

Attributes

cents

type: number

The monetary value in cents (smallest currency unit).

fractionDigits

type: number

The number of fractional digits for the currency (e.g., 2 for most currencies like USD).

displayValue

type: string

A formatted string representation of the monetary value, typically including the currency symbol.

currencyCode

type: string

The ISO 4217 currency code (e.g., "USD", "EUR").