---
Product: Aspose.Cells
Platform: cpp
Page Type: reference
Canonical URL: https://reference.aspose.org/cells/cpp/numberformatvalue
---

# NumberFormatValue

## Overview

`NumberFormatValue` is a class in Aspose.Cells FOSS for C++.

Represents number format value.

This class declares 6 methods for NumberFormatValue objects in C++ programs.
Available methods include: `Clone`, `GetCustom`, `GetNumber`, `NumberFormatValue`, `SetCustom`, `SetNumber`.
Public members are accessible to any C++ application after installing the Aspose.Cells FOSS for C++ package.

## Methods

| Signature | Description |
|-----------|-------------|
| `NumberFormatValue()` | Initializes a new instance of the class. |
| `GetNumber()` → `int` | Gets or sets the number. |
| `SetNumber(value: int)` | Sets the number value. |
| `GetCustom()` → `std::string` | Gets or sets the custom. |
| `SetCustom(value: std::string)` | Sets the custom value. |
| `Clone()` → `NumberFormatValue` | Creates a copy of the current instance. The number format value. |

## See Also

- [Aspose.Cells — Enterprise API Reference](https://reference.aspose.com/cells/)