Data type for currency field in Apex in Salesforce

The data type for currency field in Apex should be "Double" or "Decimal".

Currency may contain fractional portions (decimal place), so we have to use Double data type while we do some manipulations using currency field.

No comments:

Post a Comment