What I want to achieve is to keep 2 decimals and eliminate any extra decimals without any rounding for example
3.556664 to 3.55 (NOT ROUNDING)
I Tried the following
"%.2f".format(3.556).toFloat() // the result is 3.56
DecimalFormat("#.##").format(3.556).toFloat() // the result is 3.56
BigDecimal(3.556).setScale(2, RoundingMode.DOWN).toFloat() // the result is 3.56