@Override
  public Decimal round(Decimal number, RoundingContext roundingContext, RoundingMethod roundingMethod)
  {
	switch (roundingMethod)
	{
	case DOWN:
	  return roundDown(number, roundingContext);
	case UP:
	  return roundUp(number, roundingContext);
	case HALF_UP:
	  return roundHalfUp(number, roundingContext);

	default:
	  throw new IllegalArgumentException("Unknown roundingMethod class: " + roundingMethod.getClass().getName());
	}
  }