Horje
round off java 2 decimal places Code Example
round off java 2 decimal places
class round{
    public static void main(String args[]){

    double a = 123.13698;
    double roundOff = Math.round(a*100)/100;

    System.out.println(roundOff);
}
}




Java

Related
android studio float to int Code Example android studio float to int Code Example
isblank vs isempty Code Example isblank vs isempty Code Example
how to get float value in json java Code Example how to get float value in json java Code Example
get device id programmatically android Code Example get device id programmatically android Code Example
java code samples Code Example java code samples Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7