Quote Originally Posted by skimask View Post
Well, you could use the floating point math routines on melabs website, microchip's site, etc.etc. or write your own.

The trick to doing it the way you've got set up above is to make sure that no individual variables overflow or underflow, no matter what values end up going into them. It just takes a bit of thinking thru it all...


I would like to not use those as I want to learn how to do this, but I sure could use some help i'm a bit lost here. Maybe just working on it too long.

The number I expect is 1-3 digits. Example

If the number is 123 it would be 1.23
If its 12 .12
If its just 1 then would be .01

I just can't seem to wrap my mind around how to actually accomplish this.