Thursday, 9 February 2012

Dont be fooled by Currency data type

The Currency data type may display values as 2 decimal places, but the actual value stored in Salesforce database can have more decimal places.
If data is uploaded via data loader or similar tool values could be uploaded with more decimal places.
You may see the value in Salesforce with 2 decimal places, but if you perform a soql the value will have multiple decimal places.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.