If you want to convert 232879.7979879 to 232879.79 use BigDecimal class
On Tue, Aug 26, 2014 at 2:24 PM, upd r <updbigd...@gmail.com> wrote: > Hi, > > Can someone please tell me if there is a way to alter the precision digits > for a double/float data type to 2 or 3. > Eg: 232879.7979879 to 232879.79 > > Thanks, > UPD > -- With Thanks & Regards Nagarjuna Vissarapu 9052179339