Change the decimal separator

Change the decimal separator

Hi, I have to read a file like this:

vaso=0,30

but I can do this only if I use

vaso=0.30

How can I change the decimal separator?

Thanks,
Aline

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Quoting - alinerocha
Hi, I have to read a file like this:

vaso=0,30

but I can do this only if I use

vaso=0.30

How can I change the decimal separator?

Thanks,
Aline

Hi Aline,

could you please specify which programming language are you using for reading files? Which input/output library?

Best regards,
Roman

I'm using a fortran code.

I put the date in a file.txt and would like to read from the data from it.

I'm using the "read" command.

Thanks,

Aline

Login to leave a comment.