Examples of TRUNC


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

            assertEquals("TANH not working", eval(t, d), Math.tanh(d));
        }
    }

    public void testTRUNC() throws Exception {
        TRUNC t = new TRUNC();
        assertEquals(eval(t, 8.9, 3), 8.9);
        assertEquals(eval(t, 8.9), 8.);
        assertEquals(eval(t, -8.9), -8.);
        assertEquals(eval(t, Math.PI), 3.);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.