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, including its currency type, and it's available in the \u003ccode\u003eGoogle.Type\u003c/code\u003e namespace within the \u003ccode\u003eGoogle.Api.CommonProtos.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThis class allows you to define a monetary value using whole units (accessible via the \u003ccode\u003eUnits\u003c/code\u003e property) and nano units (accessible via the \u003ccode\u003eNanos\u003c/code\u003e property), and also a decimal format that combines both (accessible via the \u003ccode\u003eDecimalValue\u003c/code\u003e property).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMoney\u003c/code\u003e class implements \u003ccode\u003eProtobuf.IBufferMessage\u003c/code\u003e and includes methods for cloning, comparing, merging, and serializing/deserializing money amounts, as well as properties such as \u003ccode\u003eCurrencyCode\u003c/code\u003e to set and retrieve the ISO 4217 currency code.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes constructors for creating new money objects, either empty or by cloning a pre-existing \u003ccode\u003eMoney\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eIt has field numbers for currency code, nanos, and units that are useful for internal representations, and methods like \u003ccode\u003eCalculateSize\u003c/code\u003e which return the object size.\u003c/p\u003e\n"]]],[],null,[]]