round up to nearest 10
Math.ceil(N / 10) * 10;
Source: stackoverflow.com
Round Number Up
print(ceil(13/2));
round off and round up
double roundOff = (double) Math.round(a * 100) / 100;
Source: stackoverflow.com
Math.ceil(N / 10) * 10;
print(ceil(13/2));
double roundOff = (double) Math.round(a * 100) / 100;