Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- double d = 12.1599999;
- String result = new DecimalFormat("#.##").format(d);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement