What is the value of acctscore after this code executes?The account - ProProfs Discuss
Topics-
Products +
     

What is the value of acctscore after this code executes?
The account object has a custom percent field, rating, defined with a length of 2 with 0 decimal places. An account record has the value of 50% in its rating field and is processed in the apex code below after being retrieved from the database with SOQL public void process account(){decimal acctscore = acc.rating__c * 100; }

This question is part of Developer I
Asked by Maryolina, Last updated: Jul 30, 2019

+ AnswerRequest Answer
...

2 Answers

shilpaads

Shilpaads

Answered on Nov 08, 2019

5000 is the answer for this

 Reply

maryolina

Maryolina

Answered on Jul 01, 2019

500
1
 Reply

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.