use null terminated string for passing floating-point value