ValueFormatter
Overview
ValueFormatter is a class in Aspose.Cells FOSS for Python.
Formats cells or raw values into display text.
This class declares 3 methods for ValueFormatter objects in Python programs.
Available methods include: format_cell, format_value, replace_token.
Public members are accessible to any Python application after installing the Aspose.Cells FOSS for Python package.
Methods
| Signature | Description |
|---|---|
format_cell(cell, workbook, worksheet, options) | Return the visible display text for a cell. |
format_value(value, number_format, options) | Return the visible display text for a raw value. |
replace_token(match) | Calls replace_token(match) on this ValueFormatter instance. |