class MathUtil extends AbstractCaller {

	@Description("Returns the largest (closest to positive infinity) double value that is less than or equal to the argument and is equal to a mathematical integer.<br/>"
            + "Special cases:<br/>"
			+ "If the argument value is already equal to a mathematical integer, then the result is the same as the argument.<br/>"
			+ "If the argument is NaN or infinity or positive zero or negative zero, then the result is the same as the argument.<br/>"
            + "<b>d</b> - a double value for flooring.<br/>"
            + "Example:<br/>"
            + "#{floor(-5.1)} returns -6.0<br/>"
            + "#{floor(5.1)} returns 5.0")
	@UtilityMethod
	public double floor(double d) {
		return Math.floor(d);
	}

}