twoDecimalPlaces

public static double twoDecimalPlaces(double value)

Rounds a number to 2 decimal places.

Return

The rounded number.

Parameters

value

The number to round.