How to Round Off # of digest after decimal in Number Field. [message #121607] |
Tue, 31 May 2005 01:22 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
weekend79
Messages: 198 Registered: April 2005 Location: Islamabad
|
Senior Member |
![halfday_79%40yahoo.com](/forum/theme/orafaq/images/yahoo.png)
|
|
A number field takes value form division of two other fields.
I want to restrict number of digit after decimal = 2.
Example:-
13 / 3 = 4.333333333333333333333333333
I want it to be
13 / 3 = 4.33
It wont hurdle the database as database fields are restricted to number(10,2) they only accept 2 digit after decimal but it wont even look good when such values display in form.
So there any way to apply rounding and avoid unnecessary long display.
Wishes
Jawad
|
|
|
|
|
|