Package org.boris.expr.function.excel

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


        assertEquals(eval(r, -3.14159, 1), -3.2);
        assertEquals(eval(r, 31415.92654, -2), 31500.);
    }

    public void testSIGN() throws Exception {
        SIGN s = new SIGN();
        assertEquals(eval(s, 10), 1.);
        assertEquals(eval(s, 4 - 4), 0.);
        assertEquals(eval(s, -0.00001), -1.);
    }
View Full Code Here

TOP

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

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.