Class JavaToStringNumericCellStringifier

java.lang.Object
com.palantir.transforms.excel.functions.JavaToStringNumericCellStringifier
All Implemented Interfaces:
NumericCellStringifier, Serializable

public final class JavaToStringNumericCellStringifier extends Object implements NumericCellStringifier
A NumericCellStringifier that uses Double.toString(double). The results are not always aesthetically pleasing, but this option ensures that casting to a Double in the downstream pipeline will exactly match the original value from the Excel.
See Also:
  • Constructor Details

    • JavaToStringNumericCellStringifier

      public JavaToStringNumericCellStringifier()
  • Method Details

    • getNumericCellValueAsString

      public String getNumericCellValueAsString(org.apache.poi.ss.usermodel.Cell cell)
      Description copied from interface: NumericCellStringifier
      Convert the value of a Cell that is known to contain a numeric value without date/time formatting to a String. This function is applied both to Cell objects that contain a "raw" numeric value and those that contain a formula whose formula result is numeric.
      Specified by:
      getNumericCellValueAsString in interface NumericCellStringifier
      See Also: