2min
Money
A Carrot datatype used by fields that store a money value.
The Money datatype is supported by Custom Fields.
The Money datatype supports the following properties:
Property | Definition |
moneyField.amount | Returns the amount as a Number. |
moneyField.currency | Returns the currency of the money value. |
moneyField.asOrgCurrency | Returns the money amount in the org’s default currency, using the conversion rate at the given point in time. |
targetBaseSalary.amount returns the value of targetBaseSalary as a Number.