Quote Originally Posted by DavyJones View Post
I know that math is right but I can't get calculation. This is a stupid question I know and I really should know but I don't. What do I have to do to get this to multipl the decimal.

( 216 - 24 ) * .78125 = 150

woohoo I think I got it. Were X is my value read from the AD. I get a nice looking number. What do you think?

x = x - 24
res = x * 7812
res = div32 1000