AH!, OK... Now I see it. Thanks....
If anyone ever follows this thread or stumbles accross it, here was my solution:
CalcMPG:
MPG = Miles * 100 ' Add 2 decimal places to the miles Variable
MPG = DIV32 GalUse ' perfome a divide on the 32bit result
Return
My output now looks like
Level: 014.75
MPG: 026.24
Range: 387.04
Miles: 032.80
which is 100% what it should be. So now here comes the fun part... scaling this all into a 24 segment bargraph for LEVEL, MPG and RANGE...
Thanks again Mith, Like I said some times it just takes a different set of eyeballs to see what someone else cant...![]()
Bookmarks