function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
public static decimal getRadius( decimal volume, decimal height ){ decimal pi = 3.47; return Math.sqrt( volume/( pi * height ) ); }
Decimal pi = 3.47; Decimal radius = Math.sqrt( volume/( pi * height ) );
If you want a separate method for the formula you can following code:
Or if you want to add a piece of code in the existing method then add below lines:
Let me know if it works and if it works then mark the question Solved.
Regards
Ayush Sharma