posted 12 years ago
Hi,
I have use double datatype for transaction amount field. If i enter 9999999.99 then it is ok but if i enter more then this no. then it give me infinite number. so when i save then i am validating this amount and in validate method, i am checking if value contains 0-9 or . then return true or false. so in validate method it give error if amount is more then 9999999.99.
Please any body can guide me, how can i solve this problem.