You need to sign in to do that
Don't have an account?

Using numbers, currency, and percentages in formulas: issue with submission
I submitted my work and I received this error message. The challenge says nothing about adding a field with this name.
Challenge Not yet complete... here's what's wrong:
There was an unexpected error in your org which is preventing this assessment check from completing: System.DmlException: Insert failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, Required fields are missing: [Discount_Percent__c]: [Discount_Percent__c]
Challenge Not yet complete... here's what's wrong:
There was an unexpected error in your org which is preventing this assessment check from completing: System.DmlException: Insert failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, Required fields are missing: [Discount_Percent__c]: [Discount_Percent__c]
[1] https://developer.salesforce.com/forums/?id=906F00000005JciIAE
All Answers
[1] https://developer.salesforce.com/forums/?id=906F00000005JciIAE
ROUND(3.14159 * radius__c^2 * height__c,0)
This is the error:
Challenge Not yet complete... here's what's wrong:
The 'Cylinder_Volume__c' formula field did not return the correct value for a input values of Height of 10 and a Radius of 10. The expected value from the Cylinder_Volume__c formula was 3142.
i have the same problem..
i try to round it but not able to complete yet
Challenge Not yet complete... here's what's wrong:
The 'Cylinder_Volume__c' formula field did not return the correct value for a input values of Height of 10 and a Radius of 10. The expected value from the Cylinder_Volume__c formula was 3142.
I've tried everything and clearly there's something I'm doing wrong! Here's the formula I came up with:
3.14159 * radius__c^2 * height__c
This is the error:
Challenge Not yet complete... here's what's wrong:
The 'Cylinder_Volume__c' formula field did not return the correct value for a input values of Height of 10 and a Radius of 10. The expected value from the Cylinder_Volume__c formula was 3142.
Please help if you can!
yeap ,
Thanks , i got completed.
Just wanted to ask what is the justification of using the 0 decimal places in lieu of the customary 2 decimal places?
Seems it's trying to do radius__c^(2*height__c) if you dont put the () around the exponent, which is silly because order of operations states exponents before multiplication.
"There was an unexpected error in your org which is preventing this assessment check from completing: System.DmlException: Insert failed. First exception on row 0; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, 'Hey McFly, unless you are planning to go back in time, please update your close date': []"
The correct way to answer the trail is : 3.14159*(radius__c ^2)* height__c
Apply the BODMAS rule i.e brackets should be goven prefernece if we don't put () in front of radius__c then it will consider it as 2*height__c.
"The field 'Cylinder_Volume__c' is a Number"
is it not supposed to be a number??