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

Class NumberToTextConverter

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      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.
    • 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 © 2010 - 2020 Adobe. All Rights Reserved