I am facing an issue where I need to do some calculations with a number like for example 5000,00 multiplied it by (1,025^3).
So in
Try val dec = DecimalFormat("#.###,00"). For examples of DecimalFormat check this link.
val dec = DecimalFormat("#.###,00")