Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/31/02 17:32
Read: times


 
#35306 - RE: fractional values in controller
Nabeel,

If you know that you have to divide 00000001 by 2 then multiply it by 10 first.

e.g. 1 * 10 = 10 10/2 = 5.

and you get the correct result. As you know you have multiplied by 10, you also know where to put the decimal point. So for :-

21 * 10 = 210 210/2 = 105 or 10.5

Chris.



List of 3 messages in thread
TopicAuthorDate
fractional values in controller            01/01/70 00:00      
RE: fractional values in controller            01/01/70 00:00      
RE: fractional values in controller            01/01/70 00:00      

Back to Subject List