Hello,
If you need the answer to be accurate to more than 6 digits, I guess you will need to use double rather than float - assuming you have enough resources available to do so.
Provided the range of values required for each parameter is not too wide, you may do better using integer maths, with careful sequencing of intermediate results to ensure adequate precision without overflow.
Regards,
Mac