This function fails unless the whole string can be consumed by strtod without setting errno. For more details, see man 3 strtod
function stringReal input String str; output Real r; end stringReal;