开发者

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

What is meant by . (dot) usage after a number in Fortran code?开发者_StackOverflow中文版

For example:

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


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜