x = (y/10000 + 1) * 10000
Of course, if the exponent of the numbers changes, you might want to define a function that can put more intelligence in there.
On 7/20/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi all,
I want to verify if the text is correctly displayed depending on
different input scenarios. The web application however rounds values,
e.g. if the calculated result is 170500 then displayed should be
180000.
How can i do same in Ruby/Watir?
Thanks,
Ulrike
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general
--
"I am the most humble person in the world!"
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
