assertResult("ROUNDDOWN(-3.14159, 1)", -3.1);
assertResult("ROUNDDOWN(31415.92654, -2)", 31400.);
}
public void testROUNDUP() throws Exception {
ROUNDUP r = new ROUNDUP();
assertEquals(eval(r, 3.2, 0), 4.);
assertEquals(eval(r, 76.9, 0), 77.);
assertEquals(eval(r, 3.14159, 3), 3.142);
assertEquals(eval(r, -3.14159, 1), -3.2);
assertEquals(eval(r, 31415.92654, -2), 31500.);