Package org.boris.expr.function.excel

Examples of org.boris.expr.function.excel.INT


        assertResult("FLOOR(1.5, 0.1)", 1.5);
        assertResult("FLOOR(0.234, 0.01)", 0.23);
    }

    public void testINT() throws Exception {
        INT i = new INT();
        assertEquals(eval(i, 1.9), 1);
        assertEquals(eval(i, -1.9), -2);
        assertEquals(eval(i, -2.0), -2);
        assertEquals(eval(i, 8.9), 8);
        assertEquals(eval(i, -8.9), -9);
View Full Code Here

TOP

Related Classes of org.boris.expr.function.excel.INT

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.