Change the decimal separator

Change the decimal separator

Аватар пользователя 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

3 posts / 0 новое
Последнее сообщение
Пожалуйста, обратитесь к странице Уведомление об оптимизации для более подробной информации относительно производительности и оптимизации в программных продуктах компании Intel.
Аватар пользователя Roman Dementiev (Intel)
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

Аватар пользователя alinerocha
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

Зарегистрируйтесь, чтобы оставить комментарий.