Here you can find the source of round(double a, int rounding_style)
double
value.
public static int round(double a, int rounding_style)
//package com.java2s; public class Main { /**//w w w . j a va 2 s. c om * Returns the mathematically rounded part of a * <code>double</code> value. */ public static int round(double a, int rounding_style) { throw new UnsupportedOperationException("not yet implemented"); } }