Which primitive data type in Apex is a currency field atomically - ProProfs Discuss
Topics
Products
Follow Us:

Which primitive data type in Apex is a currency field atomically assigned?



A. Integer
B. Decimal
C. Double
D. Currency

This question is part of Salesforce Platform Developer 1
Asked by Wyatt Williams, Last updated: Jan 21, 2020

+ Answer
Request
1

3 Answers

Praveen

Praveen

Answered Mar 28, 2019

Answer is Decimal A number that includes a decimal point. Decimal is an arbitrary precision number. Currency fields are automatically assigned the type Decimal. If you do not explic...Read More
 

fbpro

Fbpro

Answered Oct 11, 2017

Copied from the Apex Developer Guide:https://developer.salesforce.com/docs/atlas.en-us.210.0.object_reference.meta/object_reference/field_types.htm Currency Field Type...Read More
1
 1

maovrn

Maovrn

Replied on Mar 18, 2018

Decimal is better choice. Good explanation here https://developer.salesforce.com/forums/?Id=906F0000000kGpqIAE

John Smith

John Smith

Answered Apr 12, 2017

Decimal

####
 

Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer

Email Sent
We have sent an email to your address "" with instructions to reset your password.