I am trying to convert an exponential value to integer value during test case execution. I used math funtion and observed a starnge response
puts [math.int 5e+9]
But in the math convetion it should be 5*10^9 which is equal to 500000000
Also, I tried the same in TCL shell(outside iTest and also iTest tcl) it is showing the message - "integer value too large to handle"
And particularly this message(s) are shown when the exponential is going equal or over 9.
This behaviour is aslo seen when I am trying to convert large hex numbers.
So, I can understand this is limitation of TCL here.
But the concern is the out put of the response. It should be handled properly and corrected otherwise it will definitely create a wrong mesage during automation.
This is always reproducible, anyone can try.