Locales in C effect read in Fortran
Andrew Pinski
pinskia@gmail.com
Wed Dec 23 10:34:00 GMT 2015
On Wed, Dec 23, 2015 at 2:23 AM, Dirk Spelsberg <dsp@chemie.uni-kl.de> wrote:
> It took me quite a while to sort this out. The program attached works with
> English locales but not with German ones. Apparently the decimal point is
> replaced by a decimal comma somewhere during the read.
I don't think this is a bug as your locale says the decimal separator
is a comma.
This is also true when using scanf too.
More information about the Fortran
mailing list