Add a string to real conversion function

As discussed on the latest vdd.