#include <XLNumberFormatter.hpp>
|
| | XLNumberFormatter (const std::string &formatString) |
| | Constructor that pre-compiles (parses) the format string.
|
| |
| std::string | format (const XLCellValue &value) const |
| | Applies the format to a given cell value.
|
| |
◆ XLNumberFormatter()
| OpenXLSX::XLNumberFormatter::XLNumberFormatter |
( |
const std::string & |
formatString | ) |
|
|
explicit |
Constructor that pre-compiles (parses) the format string.
- Parameters
-
| formatString | Excel format string (e.g., "yyyy-mm-dd hh:mm:ss", "#,##0.00;[Red](#,##0.00)") |
◆ format()
| std::string OpenXLSX::XLNumberFormatter::format |
( |
const XLCellValue & |
value | ) |
const |
Applies the format to a given cell value.
- Parameters
-
- Returns
- The formatted string representation
The documentation for this class was generated from the following files: