Interface NumericCellStringifier
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DecimalFormatNumericCellStringifier
,JavaToStringNumericCellStringifier
The function used to convert the value of a numeric cell to a String in the output
dataframe (this library outputs strings for all values in an Excel sheet to avoid
issues due to inconsistently typed fields).
This function is only applied to numeric cells that do not have date/time formatting.
-
Method Summary
Modifier and TypeMethodDescriptionstatic NumericCellStringifier
UseDecimalFormat
with a format string of "0.#############", which will keep data up to thirteen decimal places.getNumericCellValueAsString
(org.apache.poi.ss.usermodel.Cell cell) Convert the value of aCell
that is known to contain a numeric value without date/time formatting to aString
.
-
Method Details
-
defaultNumericCellStringifier
UseDecimalFormat
with a format string of "0.#############", which will keep data up to thirteen decimal places. -
getNumericCellValueAsString
Convert the value of aCell
that is known to contain a numeric value without date/time formatting to aString
. This function is applied both toCell
objects that contain a "raw" numeric value and those that contain a formula whose formula result is numeric.- See Also:
-