Skip navigation links
org.xlsx4j.org.apache.poi.ss.util

Class NumberToTextConverter

    • Method Detail

      • toText

        public static String toText(double value)
        Converts the supplied value to the text representation that Excel would give if the value were to appear in an unformatted cell, or as a literal number in a formula.
        Note - the results from this method differ slightly from those of Double.toString() In some special cases Excel behaves quite differently. This function attempts to reproduce those results.

Copyright © 2007-2022. All Rights Reserved.