ooops - sorry
The above is wrong - int will generally (?) truncate.
Perhaps it would be best to use the "round" function loaded with PGstandard
Years ago Fortran IV (with WATFIV) we rounded with int(x+0.5)
Then a new version was installed and the rounding was done automatically.
I thought this to be a very progressive at the time; I guess perl has regressed.
many regards
hp
WeBWorK Problems
answer checker for finance math problems to accept and display 2 decimal digits
This forum has a limit to the number of forum postings you can make in a given time period - this is currently set at 10 posting(s) in 1 day