Like it comes : 692589 i want the value similar : 69.23
I want to know more than one process to perform this task in java
Like it comes : 692589 i want the value similar : 69.23
I want to know more than one process to perform this task in java
you can use DecimalFormat("0.00") to ensure the number is round to 2 decimal places. and maybe this can help you. https://mkyong.com/java/java-display-double-in-2-decimal-points/#:~:text=format(%E2%80%9C%25.,double%20to%202%20decimal%20places.