The amount of money in decimal format. This is an abstraction of the Units and Nanos properties.
Getting this property combines those property values, and setting this property will set both of those properties.
Number of nano (10^-9) units of the amount.
The value must be between -999,999,999 and +999,999,999 inclusive.
If units is positive, nanos must be positive or zero.
If units is zero, nanos can be positive, zero, or negative.
If units is negative, nanos must be negative or zero.
For example $-1.75 is represented as units=-1 and nanos=-750,000,000.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eMoney\u003c/code\u003e class represents a monetary amount with a specified currency type, inheriting from \u003ccode\u003eobject\u003c/code\u003e and implementing several interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eMoney\u003c/code\u003e class include \u003ccode\u003eCurrencyCode\u003c/code\u003e (a three-letter currency code), \u003ccode\u003eUnits\u003c/code\u003e (whole units of the amount), \u003ccode\u003eNanos\u003c/code\u003e (nano units of the amount), and \u003ccode\u003eDecimalValue\u003c/code\u003e (an abstraction of the \u003ccode\u003eUnits\u003c/code\u003e and \u003ccode\u003eNanos\u003c/code\u003e properties).\u003c/p\u003e\n"],["\u003cp\u003eThe class includes constructors to initialize a new \u003ccode\u003eMoney\u003c/code\u003e object, either empty or by cloning another \u003ccode\u003eMoney\u003c/code\u003e object, as well as various methods to manage the data.\u003c/p\u003e\n"],["\u003cp\u003eThere are static fields such as \u003ccode\u003eCurrencyCodeFieldNumber\u003c/code\u003e, \u003ccode\u003eNanosFieldNumber\u003c/code\u003e, \u003ccode\u003eUnitsFieldNumber\u003c/code\u003e, \u003ccode\u003eDescriptor\u003c/code\u003e, and \u003ccode\u003eParser\u003c/code\u003e, for the configuration and access to the data.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMoney\u003c/code\u003e class provides methods for calculating size, cloning, equality checks, hash code generation, merging data from input streams or other \u003ccode\u003eMoney\u003c/code\u003e objects, string conversion, and writing data to an output stream.\u003c/p\u003e\n"]]],[],null,[]]