cvnravi
cvnravi

Reputation:

What is meant by . usage after a number in Fortran?

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

For example:

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

Upvotes: 3

Views: 1650

Answers (1)

sharptooth
sharptooth

Reputation: 170499

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

Upvotes: 7

Related Questions