function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Rebecca BellRebecca Bell 

Using numbers, currency and percentages in formulas trailhead module - can't pass this one!

I've tried everything and clearly there's something I'm doing wrong! Here's the formula I cam 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.
BhavnaBanodhaBhavnaBanodha
Dear Rebecca,
Your approach is absolutely correct.
Only thing you missed is parenthesis()  :)
Try this:
3.14159 * (radius__c^2) * height__c

Happy Trailhead