You would need LONG variables to hold values larger than 65535.

But you certainly don't need the floating point routines for the math you're doing.