reachsenthilnathan
New User
Joined: 20 Nov 2005 Posts: 15
|
|
|
|
Hi,
I hope u mean to say that answer is +0.1200000000000000E+02 and not 12.
(thou u have given the answer as +144.00000000+03)
Use the following query to get it as integer.
SELECT CAST (SQRT(144) AS INTEGER) FROM SYSIBM.SYSDUMMY1;
Hope it helps.
Regards,
Senthil Nathan.R |
|