Package org.boris.expr.function.excel

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


        assertEquals(eval(t, 0.4, "0%"), "40%");
        assertEquals(eval(t, 2800, "$0.00"), "$2800.00");
    }

    public void testTRIM() throws Exception {
        TRIM t = new TRIM();
        assertEquals(eval(t, " First Quarter Earnings "),
                "First Quarter Earnings");
        assertEquals(eval(t, ""), "");
        assertEquals(eval(t, "   "), "");
    }
View Full Code Here

TOP

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

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.