el_chief
9 Jan 2012, 8:44 PM
I have a numberfield for interest rate
the float value on the model is 0.05, representing 5%
how do i show "5" on the numberfield instead of 0.05?
also, how to save it on the model as 0.05?
preferably, using loadRecord() and getRecord(), without the controller having to do much.
Thanks!
the float value on the model is 0.05, representing 5%
how do i show "5" on the numberfield instead of 0.05?
also, how to save it on the model as 0.05?
preferably, using loadRecord() and getRecord(), without the controller having to do much.
Thanks!