---
Product: Aspose.PDF
Platform: net
Page Type: reference
Canonical URL: https://reference.aspose.org/pdf/net/NumberFormat
---

# NumberFormat

## Overview

`NumberFormat` is a class in Aspose.PDF FOSS for .NET.

One number-format entry — describes how a measurement value is rendered (precision, separators, before/after text).

This class provides 1 method for working with NumberFormat objects in .NET programs.
Available methods include: `NumberFormat`.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: `AfterText`, `BeforeText`, `ConvresionFactor`, `Denominator`, `ForceDenominator`, `FractionDisplayment`, and 4 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `AfterText` | `string` | Read/Write | Gets or sets the after text. |
| `BeforeText` | `string` | Read/Write | Gets or sets the before text. |
| `ConvresionFactor` | `double` | Read/Write | Conversion factor (member name spelled Convresion, not Conversion). |
| `Denominator` | `int` | Read/Write | Gets or sets the denominator. |
| `ForceDenominator` | `bool` | Read/Write | Gets or sets the force denominator. |
| `FractionDisplayment` | `FractionStyle` | Read/Write | Gets or sets the fraction displayment. |
| `FractionSeparator` | `string` | Read/Write | Gets or sets the fraction separator. |
| `Precision` | `int` | Read/Write | Gets or sets the precision. |
| `ThousandsSeparator` | `string` | Read/Write | Gets or sets the thousands separator. |
| `UnitLabel` | `string` | Read/Write | Gets or sets the unit label. |

## Methods

| Signature | Description |
|-----------|-------------|
| `NumberFormat(measure: Measure)` | Calls NumberFormat on this NumberFormat instance. |

## See Also

- [Aspose.PDF for .NET — Enterprise API Reference](https://reference.aspose.com/pdf/net/)