I have this float 98.01645 and I'm getting 98.02 with this function:
String lastCredit = String.format("%.2f", AppSingleton.getInstance().credit);
That I want is get 98.01 (only two decimals or not rounded number). I'm trying but I can't get the way to do it work.