Re: Decimal fields in tables
Posted by:
Peter Brawley ()
Date: February 18, 2012 10:04AM
> I want it to display "10.00" when a user writes "10"
That is a presentation issue, not a storage issue. You need to keep those two issues separate.
It is not the job of storage parameters to determine data presentation. Write a bit of application code to implement the formatting you want.
> and to display "10.000" when a user writes "10000" or "10.000".
Nonsense. 10000 <> 10.000.
PB
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.