Example: (1500 rpm’s) x (35 x .0143) / 5252 = .1428 H.P.
What would be the best way to approach the Math for this application?
Use LONG's...to keep the precision...and you'll want it to keep it simple-ish.
Instead of .0143, which PBP won't handle, use 143.
1500 x 35 x 143 / 5252 = 1428
When displaying, just put a decimal point in front of this bunch.
Ok, RPMs are 8000 and torque is 300...
8000 x 35 x 300 / 5252 = 15993
Divide by 10000, display that number, put a decimal point, get the remainder (modulus), display that number