Lots of string stuff just to get a float back that we can get directly from C.