Robust conversion of floats in bvals file