tags:

views:

78

answers:

1

Hi.

What is meant by . (dot) usage after a number in Fortran code?

For example:

x=a+b+45.-c-d

thanks in advance

+5  A: 

This means that it's a floating point constant, not integer. 45. is a shorter way to write 45.0.

sharptooth