Subject | Firebird ROUND |
---|---|
Author | Sebastian J. |
Post date | 2005-01-15T20:56:40Z |
Hi to everyone, I have a question... I need to round a decimal number as I used to do in SQL Server for example:
Select Round(6.3254, 2) as Value_Rounded From MyTable
The result looks like this:
-------
6.3300
How can I do this in FB, I was using the FB_UDF but the ROUND Function only acept 1 parameter and I can't pass the decimals number that I wanna.
Thanks a lot.....
Regards, Antonio
---------------------------------
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
[Non-text portions of this message have been removed]
Select Round(6.3254, 2) as Value_Rounded From MyTable
The result looks like this:
-------
6.3300
How can I do this in FB, I was using the FB_UDF but the ROUND Function only acept 1 parameter and I can't pass the decimals number that I wanna.
Thanks a lot.....
Regards, Antonio
---------------------------------
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
[Non-text portions of this message have been removed]