Numerical Value Conversion Code

Picaxe has a command for this but I chose not to use it because:
1. It needs a lot of variables.
2. It is slow
3. It does not directly handle decimal points.
I could combine the two, but why bother?
The code explicitly does not change the input "DispData".