Introduction
Here is the source code for Main.java
Source
//package com.java2s;
public class Main {
public static double roundNumber(double rowNumber, int roundingPoint) {
double base = Math.pow(10D, roundingPoint);
return (double) Math.round(rowNumber * base) / base;
}
}