Be concise.

Be useful.

All contributions dictatorially edited by webmasters to match personal tastes.

Please do not paste any copyright violating resource.

Please try to avoid dependencies to third-party libraries and frameworks.

Implementation edit is for fixing errors and enhancing with metadata.

Instead of changing the code of the snippet, consider creating another Fortran implementation.

Other implementations
import "strconv"
f, err := strconv.ParseFloat(s, 64)
f = s.to_f
import locale
s = u'545,2222'
locale.setlocale(locale.LC_ALL, 'de')
f = locale.atof(s)
f = float(s)
f := StrToFloat(s);
let f = s.parse::<f32>().unwrap();
read s :: Double
import std.conv;
float f =!float;
f = num.parse(s);
uses sysutils;
f := s.ToExtended;
$f = floatval($s);
let f = +s
String floatString = "14.5";
float x = Float.parseFloat(floatString);
double y = Double.parseFloat(floatString);
my $f = $s;
read (unit=s,fmt=*) f
var f=float.Parse(s);
float fl = std::stof("1.5");
(Float/parseFloat s)
(read-string s)