Reputation:
What is meant by . (dot) usage after a number in Fortran code?
For example:
x=a+b+45.-c-d
Upvotes: 3
Views: 1650
Reputation: 170499
This means that it's a floating point constant, not integer. 45. is a shorter way to write 45.0.
Upvotes: 7