Quote Originally Posted by mackrackit View Post
Looks like you need Extra_LONGS for that.
The multiplication over flows the LONG VAR.

Try
Code:
current_voltage = 49800
P = 7861 * current_voltage	
P = P / 4868 * 10
Dave, I thought Longs were 4 bytes... ?
49800 x 7861 = 391477800 = $1755 7A28 ...which is 4 bytes...