Format Number

Stefan Echeff s.echeff at FREE.FR
Thu Jan 5 11:11:33 EST 2006


Hi all GrADS users,

first, I'd like to wish you a happy New Year 2006.

I try to write in a file the result of a display. I have no problem to do
it. But I'd like to right the out as an integer.

For example : at now my file looks like

61;-11;123.5
61;-10.5;135.8

the first column is the latitude, the second is the longitude and the last
HGT in meters.
I would like to write HGT as an integer.

61;-11;123
61;-10.5;136

How can I round my HGT ?


Best regards from Stéfan



More information about the gradsusr mailing list