Hello Unregistered ,
Originally Posted by mackrackit 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...
current_voltage = 49800 P = 7861 * current_voltage P = P / 4868 * 10
Forum Rules
Bookmarks