i have some formula.
(find kubik feet) aswer = ((height(inch)/12 * height(inch)/12 * width(feet))/16
i want to solve this formula and asnwer in kiubic feet
i am using double data type and c# language;
ex: height = 48inch ,width =12feet
double height_in_feet = 48/12;
double width_in_feet =12;
double ans=(4*4*12)/16;
Messagebox.Show(ans.toString()); //12.00 kubic feet(its mean 12 feets and 0 inch)
//(maximum inch may be 11 because 12inch = 1feet)
but some time this answer wrong: like height = 44inch ,width =13feet then answer should be 10.11(its mean 10 feet and 11 inchs)