Package org.apache.poi.ss.usermodel

Examples of org.apache.poi.ss.usermodel.FractionFormat$SimpleFraction


* Tests for the Fraction Formatting part of DataFormatter.
* Largely taken from bug #54686
*/
public final class TestFractionFormat extends TestCase {
      public void testSingle() throws Exception {
        FractionFormat f = new FractionFormat("", "##");
        double val = 321.321;
        String ret = f.format(val);
        assertEquals("26027/81", ret);
    }
View Full Code Here

TOP

Related Classes of org.apache.poi.ss.usermodel.FractionFormat$SimpleFraction

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.