my problem is that to get the data to a jTextField it had to be cast to string i need to format it to 3 or4 decimal places i cant seem to find anything to do it can anyone give me some guidance.
Thanks
Thanks
If you pass a number with 3 decimal places and print it with 3 decimal places there won't be any rounding. Try with 4.99999995Originally posted by Dinesh Tahiliani:
Can't it roundoff the no.