Did I do it right? if not please help, though I am getting the correct value, and also what are the other way around? Thank you for the help in advance.
Do note that you cannot use clamping with this simplification. And since 0.01 cannot be perfectly represented in binary, you will get inaccuracies when that is extrapolated. I deliberately use the expected full engineering range corresponding to the possible raw integer range. Perhaps rounded only slightly to get scaled low and high as close to integers as possible, unless clamping will be used.
Oh interesting. I never use clamping on the scaled since you could do it on the Eng side anyways but I had not considered the implications of the FP errors.
I liked doing it this way for exactly what OP has where they often just put the scaling in the units but this gives me pause to check if this would have any noticeable errors.