|
Oracle Apprentice
Joined: 29 May 2002 Posts: 121
|
Posted: Sat Nov 13, 2004 11:04 pm
Floating point numbers |
Anyone know how to truncate a floating point number? When I use %float(), it goes out to the seventh position and I'd like to have it go to the second or third.
I've looked for a truncate function or something similiar but haven't found anything yet. |
|
|
|
mortie Wanderer
Joined: 26 Sep 2002 Posts: 73 Location: United Kingdom
|
Posted: Sun Nov 14, 2004 12:27 am |
Check out the %format function
|
|
|
|
Oracle Apprentice
Joined: 29 May 2002 Posts: 121
|
Posted: Mon Nov 15, 2004 2:44 am |
That worked, thanks
|
|
|
|
|
|