How to convert numbers from Binary to Decimal? [Hijacked]

What do you understand by the programming concept of "scope"?

Look, cut out all the messing around with analogue inputs.

Simply assign a known value, like 3.14 to a float variable, send it and see what you receive.

What you are trying to do is not impossible (far from it), but your approach to basic problem-solving is not helping you.