# NumberFormatInfo

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/utilities/struct-numberformatinfo/

**struct** · [`ferroui-base`](/docs/0.5.0/api/ferroui-base/) · v0.5.0

```rust
struct NumberFormatInfo
```

Culture-specific information for formatting and parsing numbers.

Used as `Rc<NumberFormatInfo>` where the managed runtime passes the
object around; like every reference type without value equality it
compares by identity.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L28)

## Members

- [`currency_decimal_separator`](#function-currency_decimal_separator)
- [`set_currency_decimal_separator`](#function-set_currency_decimal_separator)
- [`with_currency_decimal_separator`](#function-with_currency_decimal_separator)
- [`currency_group_separator`](#function-currency_group_separator)
- [`set_currency_group_separator`](#function-set_currency_group_separator)
- [`with_currency_group_separator`](#function-with_currency_group_separator)
- [`currency_symbol`](#function-currency_symbol)
- [`set_currency_symbol`](#function-set_currency_symbol)
- [`with_currency_symbol`](#function-with_currency_symbol)
- [`nan_symbol`](#function-nan_symbol)
- [`set_nan_symbol`](#function-set_nan_symbol)
- [`with_nan_symbol`](#function-with_nan_symbol)
- [`negative_infinity_symbol`](#function-negative_infinity_symbol)
- [`set_negative_infinity_symbol`](#function-set_negative_infinity_symbol)
- [`with_negative_infinity_symbol`](#function-with_negative_infinity_symbol)
- [`negative_sign`](#function-negative_sign)
- [`set_negative_sign`](#function-set_negative_sign)
- [`with_negative_sign`](#function-with_negative_sign)
- [`number_decimal_separator`](#function-number_decimal_separator)
- [`set_number_decimal_separator`](#function-set_number_decimal_separator)
- [`with_number_decimal_separator`](#function-with_number_decimal_separator)
- [`number_group_separator`](#function-number_group_separator)
- [`set_number_group_separator`](#function-set_number_group_separator)
- [`with_number_group_separator`](#function-with_number_group_separator)
- [`percent_decimal_separator`](#function-percent_decimal_separator)
- [`set_percent_decimal_separator`](#function-set_percent_decimal_separator)
- [`with_percent_decimal_separator`](#function-with_percent_decimal_separator)
- [`percent_group_separator`](#function-percent_group_separator)
- [`set_percent_group_separator`](#function-set_percent_group_separator)
- [`with_percent_group_separator`](#function-with_percent_group_separator)
- [`percent_symbol`](#function-percent_symbol)
- [`set_percent_symbol`](#function-set_percent_symbol)
- [`with_percent_symbol`](#function-with_percent_symbol)
- [`per_mille_symbol`](#function-per_mille_symbol)
- [`set_per_mille_symbol`](#function-set_per_mille_symbol)
- [`with_per_mille_symbol`](#function-with_per_mille_symbol)
- [`positive_infinity_symbol`](#function-positive_infinity_symbol)
- [`set_positive_infinity_symbol`](#function-set_positive_infinity_symbol)
- [`with_positive_infinity_symbol`](#function-with_positive_infinity_symbol)
- [`positive_sign`](#function-positive_sign)
- [`set_positive_sign`](#function-set_positive_sign)
- [`with_positive_sign`](#function-with_positive_sign)
- [`currency_decimal_digits`](#function-currency_decimal_digits)
- [`set_currency_decimal_digits`](#function-set_currency_decimal_digits)
- [`with_currency_decimal_digits`](#function-with_currency_decimal_digits)
- [`currency_negative_pattern`](#function-currency_negative_pattern)
- [`set_currency_negative_pattern`](#function-set_currency_negative_pattern)
- [`with_currency_negative_pattern`](#function-with_currency_negative_pattern)
- [`currency_positive_pattern`](#function-currency_positive_pattern)
- [`set_currency_positive_pattern`](#function-set_currency_positive_pattern)
- [`with_currency_positive_pattern`](#function-with_currency_positive_pattern)
- [`number_decimal_digits`](#function-number_decimal_digits)
- [`set_number_decimal_digits`](#function-set_number_decimal_digits)
- [`with_number_decimal_digits`](#function-with_number_decimal_digits)
- [`number_negative_pattern`](#function-number_negative_pattern)
- [`set_number_negative_pattern`](#function-set_number_negative_pattern)
- [`with_number_negative_pattern`](#function-with_number_negative_pattern)
- [`percent_decimal_digits`](#function-percent_decimal_digits)
- [`set_percent_decimal_digits`](#function-set_percent_decimal_digits)
- [`with_percent_decimal_digits`](#function-with_percent_decimal_digits)
- [`percent_negative_pattern`](#function-percent_negative_pattern)
- [`set_percent_negative_pattern`](#function-set_percent_negative_pattern)
- [`with_percent_negative_pattern`](#function-with_percent_negative_pattern)
- [`percent_positive_pattern`](#function-percent_positive_pattern)
- [`set_percent_positive_pattern`](#function-set_percent_positive_pattern)
- [`with_percent_positive_pattern`](#function-with_percent_positive_pattern)
- [`currency_group_sizes`](#function-currency_group_sizes)
- [`set_currency_group_sizes`](#function-set_currency_group_sizes)
- [`with_currency_group_sizes`](#function-with_currency_group_sizes)
- [`number_group_sizes`](#function-number_group_sizes)
- [`set_number_group_sizes`](#function-set_number_group_sizes)
- [`with_number_group_sizes`](#function-with_number_group_sizes)
- [`percent_group_sizes`](#function-percent_group_sizes)
- [`set_percent_group_sizes`](#function-set_percent_group_sizes)
- [`with_percent_group_sizes`](#function-with_percent_group_sizes)
- [`new`](#function-new)
- [`invariant_info`](#function-invariant_info)
- [`current_info`](#function-current_info)
- [`get_instance`](#function-get_instance)

<a id="function-currency_decimal_separator"></a>

### currency_decimal_separator

```rust
fn currency_decimal_separator(self: &Self) -> &str
```

The decimal separator of currency values.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L167)

<a id="function-set_currency_decimal_separator"></a>

### set_currency_decimal_separator

```rust
fn set_currency_decimal_separator(self: &mut Self, value: impl Into<String>)
```

The decimal separator of currency values.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L167)

<a id="function-with_currency_decimal_separator"></a>

### with_currency_decimal_separator

```rust
fn with_currency_decimal_separator(self: Self, value: impl Into<String>) -> Self
```

The decimal separator of currency values.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L167)

<a id="function-currency_group_separator"></a>

### currency_group_separator

```rust
fn currency_group_separator(self: &Self) -> &str
```

The separator of the digit groups of currency values.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L167)

<a id="function-set_currency_group_separator"></a>

### set_currency_group_separator

```rust
fn set_currency_group_separator(self: &mut Self, value: impl Into<String>)
```

The separator of the digit groups of currency values.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L167)

<a id="function-with_currency_group_separator"></a>

### with_currency_group_separator

```rust
fn with_currency_group_separator(self: Self, value: impl Into<String>) -> Self
```

The separator of the digit groups of currency values.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L167)

<a id="function-currency_symbol"></a>

### currency_symbol

```rust
fn currency_symbol(self: &Self) -> &str
```

The currency symbol.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L167)

<a id="function-set_currency_symbol"></a>

### set_currency_symbol

```rust
fn set_currency_symbol(self: &mut Self, value: impl Into<String>)
```

The currency symbol.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L167)

<a id="function-with_currency_symbol"></a>

### with_currency_symbol

```rust
fn with_currency_symbol(self: Self, value: impl Into<String>) -> Self
```

The currency symbol.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L167)

<a id="function-nan_symbol"></a>

### nan_symbol

```rust
fn nan_symbol(self: &Self) -> &str
```

The text of not-a-number.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L167)

<a id="function-set_nan_symbol"></a>

### set_nan_symbol

```rust
fn set_nan_symbol(self: &mut Self, value: impl Into<String>)
```

The text of not-a-number.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L167)

<a id="function-with_nan_symbol"></a>

### with_nan_symbol

```rust
fn with_nan_symbol(self: Self, value: impl Into<String>) -> Self
```

The text of not-a-number.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L167)

<a id="function-negative_infinity_symbol"></a>

### negative_infinity_symbol

```rust
fn negative_infinity_symbol(self: &Self) -> &str
```

The text of negative infinity.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L167)

<a id="function-set_negative_infinity_symbol"></a>

### set_negative_infinity_symbol

```rust
fn set_negative_infinity_symbol(self: &mut Self, value: impl Into<String>)
```

The text of negative infinity.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L167)

<a id="function-with_negative_infinity_symbol"></a>

### with_negative_infinity_symbol

```rust
fn with_negative_infinity_symbol(self: Self, value: impl Into<String>) -> Self
```

The text of negative infinity.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L167)

<a id="function-negative_sign"></a>

### negative_sign

```rust
fn negative_sign(self: &Self) -> &str
```

The sign of negative numbers.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L167)

<a id="function-set_negative_sign"></a>

### set_negative_sign

```rust
fn set_negative_sign(self: &mut Self, value: impl Into<String>)
```

The sign of negative numbers.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L167)

<a id="function-with_negative_sign"></a>

### with_negative_sign

```rust
fn with_negative_sign(self: Self, value: impl Into<String>) -> Self
```

The sign of negative numbers.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L167)

<a id="function-number_decimal_separator"></a>

### number_decimal_separator

```rust
fn number_decimal_separator(self: &Self) -> &str
```

The decimal separator of numbers.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L167)

<a id="function-set_number_decimal_separator"></a>

### set_number_decimal_separator

```rust
fn set_number_decimal_separator(self: &mut Self, value: impl Into<String>)
```

The decimal separator of numbers.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L167)

<a id="function-with_number_decimal_separator"></a>

### with_number_decimal_separator

```rust
fn with_number_decimal_separator(self: Self, value: impl Into<String>) -> Self
```

The decimal separator of numbers.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L167)

<a id="function-number_group_separator"></a>

### number_group_separator

```rust
fn number_group_separator(self: &Self) -> &str
```

The separator of the digit groups of numbers.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L167)

<a id="function-set_number_group_separator"></a>

### set_number_group_separator

```rust
fn set_number_group_separator(self: &mut Self, value: impl Into<String>)
```

The separator of the digit groups of numbers.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L167)

<a id="function-with_number_group_separator"></a>

### with_number_group_separator

```rust
fn with_number_group_separator(self: Self, value: impl Into<String>) -> Self
```

The separator of the digit groups of numbers.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L167)

<a id="function-percent_decimal_separator"></a>

### percent_decimal_separator

```rust
fn percent_decimal_separator(self: &Self) -> &str
```

The decimal separator of percent values.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L167)

<a id="function-set_percent_decimal_separator"></a>

### set_percent_decimal_separator

```rust
fn set_percent_decimal_separator(self: &mut Self, value: impl Into<String>)
```

The decimal separator of percent values.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L167)

<a id="function-with_percent_decimal_separator"></a>

### with_percent_decimal_separator

```rust
fn with_percent_decimal_separator(self: Self, value: impl Into<String>) -> Self
```

The decimal separator of percent values.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L167)

<a id="function-percent_group_separator"></a>

### percent_group_separator

```rust
fn percent_group_separator(self: &Self) -> &str
```

The separator of the digit groups of percent values.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L167)

<a id="function-set_percent_group_separator"></a>

### set_percent_group_separator

```rust
fn set_percent_group_separator(self: &mut Self, value: impl Into<String>)
```

The separator of the digit groups of percent values.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L167)

<a id="function-with_percent_group_separator"></a>

### with_percent_group_separator

```rust
fn with_percent_group_separator(self: Self, value: impl Into<String>) -> Self
```

The separator of the digit groups of percent values.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L167)

<a id="function-percent_symbol"></a>

### percent_symbol

```rust
fn percent_symbol(self: &Self) -> &str
```

The percent symbol.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L167)

<a id="function-set_percent_symbol"></a>

### set_percent_symbol

```rust
fn set_percent_symbol(self: &mut Self, value: impl Into<String>)
```

The percent symbol.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L167)

<a id="function-with_percent_symbol"></a>

### with_percent_symbol

```rust
fn with_percent_symbol(self: Self, value: impl Into<String>) -> Self
```

The percent symbol.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L167)

<a id="function-per_mille_symbol"></a>

### per_mille_symbol

```rust
fn per_mille_symbol(self: &Self) -> &str
```

The per mille symbol.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L167)

<a id="function-set_per_mille_symbol"></a>

### set_per_mille_symbol

```rust
fn set_per_mille_symbol(self: &mut Self, value: impl Into<String>)
```

The per mille symbol.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L167)

<a id="function-with_per_mille_symbol"></a>

### with_per_mille_symbol

```rust
fn with_per_mille_symbol(self: Self, value: impl Into<String>) -> Self
```

The per mille symbol.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L167)

<a id="function-positive_infinity_symbol"></a>

### positive_infinity_symbol

```rust
fn positive_infinity_symbol(self: &Self) -> &str
```

The text of positive infinity.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L167)

<a id="function-set_positive_infinity_symbol"></a>

### set_positive_infinity_symbol

```rust
fn set_positive_infinity_symbol(self: &mut Self, value: impl Into<String>)
```

The text of positive infinity.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L167)

<a id="function-with_positive_infinity_symbol"></a>

### with_positive_infinity_symbol

```rust
fn with_positive_infinity_symbol(self: Self, value: impl Into<String>) -> Self
```

The text of positive infinity.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L167)

<a id="function-positive_sign"></a>

### positive_sign

```rust
fn positive_sign(self: &Self) -> &str
```

The sign of positive numbers.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L167)

<a id="function-set_positive_sign"></a>

### set_positive_sign

```rust
fn set_positive_sign(self: &mut Self, value: impl Into<String>)
```

The sign of positive numbers.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L167)

<a id="function-with_positive_sign"></a>

### with_positive_sign

```rust
fn with_positive_sign(self: Self, value: impl Into<String>) -> Self
```

The sign of positive numbers.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L167)

<a id="function-currency_decimal_digits"></a>

### currency_decimal_digits

```rust
fn currency_decimal_digits(self: &Self) -> i32
```

The number of decimal places of currency values.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L198)

<a id="function-set_currency_decimal_digits"></a>

### set_currency_decimal_digits

```rust
fn set_currency_decimal_digits(self: &Self, value: i32)
```

 The number of decimal places of currency values.

Panics when the value is out of range. Takes a shared
reference, as the instance is shared through `Rc` where the
original passes the object around (markup sets the property
on the instance it created).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L198)

<a id="function-with_currency_decimal_digits"></a>

### with_currency_decimal_digits

```rust
fn with_currency_decimal_digits(self: Self, value: i32) -> Self
```

 The number of decimal places of currency values.

Panics when the value is out of range.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L198)

<a id="function-currency_negative_pattern"></a>

### currency_negative_pattern

```rust
fn currency_negative_pattern(self: &Self) -> i32
```

The pattern of negative currency values (0 is `($n)`, 1 is `-$n`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L198)

<a id="function-set_currency_negative_pattern"></a>

### set_currency_negative_pattern

```rust
fn set_currency_negative_pattern(self: &Self, value: i32)
```

 The pattern of negative currency values (0 is `($n)`, 1 is `-$n`).

Panics when the value is out of range. Takes a shared
reference, as the instance is shared through `Rc` where the
original passes the object around (markup sets the property
on the instance it created).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L198)

<a id="function-with_currency_negative_pattern"></a>

### with_currency_negative_pattern

```rust
fn with_currency_negative_pattern(self: Self, value: i32) -> Self
```

 The pattern of negative currency values (0 is `($n)`, 1 is `-$n`).

Panics when the value is out of range.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L198)

<a id="function-currency_positive_pattern"></a>

### currency_positive_pattern

```rust
fn currency_positive_pattern(self: &Self) -> i32
```

The pattern of positive currency values (0 is `$n`, 1 is `n$`, 2 is
`$ n`, 3 is `n $`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L198)

<a id="function-set_currency_positive_pattern"></a>

### set_currency_positive_pattern

```rust
fn set_currency_positive_pattern(self: &Self, value: i32)
```

 The pattern of positive currency values (0 is `$n`, 1 is `n$`, 2 is
 `$ n`, 3 is `n $`).

Panics when the value is out of range. Takes a shared
reference, as the instance is shared through `Rc` where the
original passes the object around (markup sets the property
on the instance it created).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L198)

<a id="function-with_currency_positive_pattern"></a>

### with_currency_positive_pattern

```rust
fn with_currency_positive_pattern(self: Self, value: i32) -> Self
```

 The pattern of positive currency values (0 is `$n`, 1 is `n$`, 2 is
 `$ n`, 3 is `n $`).

Panics when the value is out of range.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L198)

<a id="function-number_decimal_digits"></a>

### number_decimal_digits

```rust
fn number_decimal_digits(self: &Self) -> i32
```

The number of decimal places of numbers.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L198)

<a id="function-set_number_decimal_digits"></a>

### set_number_decimal_digits

```rust
fn set_number_decimal_digits(self: &Self, value: i32)
```

 The number of decimal places of numbers.

Panics when the value is out of range. Takes a shared
reference, as the instance is shared through `Rc` where the
original passes the object around (markup sets the property
on the instance it created).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L198)

<a id="function-with_number_decimal_digits"></a>

### with_number_decimal_digits

```rust
fn with_number_decimal_digits(self: Self, value: i32) -> Self
```

 The number of decimal places of numbers.

Panics when the value is out of range.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L198)

<a id="function-number_negative_pattern"></a>

### number_negative_pattern

```rust
fn number_negative_pattern(self: &Self) -> i32
```

The pattern of negative numbers (0 is `(n)`, 1 is `-n`, 2 is `- n`,
3 is `n-`, 4 is `n -`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L198)

<a id="function-set_number_negative_pattern"></a>

### set_number_negative_pattern

```rust
fn set_number_negative_pattern(self: &Self, value: i32)
```

 The pattern of negative numbers (0 is `(n)`, 1 is `-n`, 2 is `- n`,
 3 is `n-`, 4 is `n -`).

Panics when the value is out of range. Takes a shared
reference, as the instance is shared through `Rc` where the
original passes the object around (markup sets the property
on the instance it created).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L198)

<a id="function-with_number_negative_pattern"></a>

### with_number_negative_pattern

```rust
fn with_number_negative_pattern(self: Self, value: i32) -> Self
```

 The pattern of negative numbers (0 is `(n)`, 1 is `-n`, 2 is `- n`,
 3 is `n-`, 4 is `n -`).

Panics when the value is out of range.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L198)

<a id="function-percent_decimal_digits"></a>

### percent_decimal_digits

```rust
fn percent_decimal_digits(self: &Self) -> i32
```

The number of decimal places of percent values.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L198)

<a id="function-set_percent_decimal_digits"></a>

### set_percent_decimal_digits

```rust
fn set_percent_decimal_digits(self: &Self, value: i32)
```

 The number of decimal places of percent values.

Panics when the value is out of range. Takes a shared
reference, as the instance is shared through `Rc` where the
original passes the object around (markup sets the property
on the instance it created).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L198)

<a id="function-with_percent_decimal_digits"></a>

### with_percent_decimal_digits

```rust
fn with_percent_decimal_digits(self: Self, value: i32) -> Self
```

 The number of decimal places of percent values.

Panics when the value is out of range.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L198)

<a id="function-percent_negative_pattern"></a>

### percent_negative_pattern

```rust
fn percent_negative_pattern(self: &Self) -> i32
```

The pattern of negative percent values (0 is `-n %`, 1 is `-n%`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L198)

<a id="function-set_percent_negative_pattern"></a>

### set_percent_negative_pattern

```rust
fn set_percent_negative_pattern(self: &Self, value: i32)
```

 The pattern of negative percent values (0 is `-n %`, 1 is `-n%`).

Panics when the value is out of range. Takes a shared
reference, as the instance is shared through `Rc` where the
original passes the object around (markup sets the property
on the instance it created).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L198)

<a id="function-with_percent_negative_pattern"></a>

### with_percent_negative_pattern

```rust
fn with_percent_negative_pattern(self: Self, value: i32) -> Self
```

 The pattern of negative percent values (0 is `-n %`, 1 is `-n%`).

Panics when the value is out of range.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L198)

<a id="function-percent_positive_pattern"></a>

### percent_positive_pattern

```rust
fn percent_positive_pattern(self: &Self) -> i32
```

The pattern of positive percent values (0 is `n %`, 1 is `n%`, 2 is
`%n`, 3 is `% n`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L198)

<a id="function-set_percent_positive_pattern"></a>

### set_percent_positive_pattern

```rust
fn set_percent_positive_pattern(self: &Self, value: i32)
```

 The pattern of positive percent values (0 is `n %`, 1 is `n%`, 2 is
 `%n`, 3 is `% n`).

Panics when the value is out of range. Takes a shared
reference, as the instance is shared through `Rc` where the
original passes the object around (markup sets the property
on the instance it created).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L198)

<a id="function-with_percent_positive_pattern"></a>

### with_percent_positive_pattern

```rust
fn with_percent_positive_pattern(self: Self, value: i32) -> Self
```

 The pattern of positive percent values (0 is `n %`, 1 is `n%`, 2 is
 `%n`, 3 is `% n`).

Panics when the value is out of range.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L198)

<a id="function-currency_group_sizes"></a>

### currency_group_sizes

```rust
fn currency_group_sizes(self: &Self) -> &[i32]
```

The number of digits in each group of currency values, from the
decimal separator leftwards; the last size repeats.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L224)

<a id="function-set_currency_group_sizes"></a>

### set_currency_group_sizes

```rust
fn set_currency_group_sizes(self: &mut Self, value: &[i32])
```

 The number of digits in each group of currency values, from the
 decimal separator leftwards; the last size repeats.

Panics when a size is not between 1 and 9, except the
last, which may be 0 (the remaining digits are not
grouped).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L224)

<a id="function-with_currency_group_sizes"></a>

### with_currency_group_sizes

```rust
fn with_currency_group_sizes(self: Self, value: &[i32]) -> Self
```

 The number of digits in each group of currency values, from the
 decimal separator leftwards; the last size repeats.

Panics when a size is not valid.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L224)

<a id="function-number_group_sizes"></a>

### number_group_sizes

```rust
fn number_group_sizes(self: &Self) -> &[i32]
```

The number of digits in each group of numbers, from the decimal
separator leftwards; the last size repeats.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L224)

<a id="function-set_number_group_sizes"></a>

### set_number_group_sizes

```rust
fn set_number_group_sizes(self: &mut Self, value: &[i32])
```

 The number of digits in each group of numbers, from the decimal
 separator leftwards; the last size repeats.

Panics when a size is not between 1 and 9, except the
last, which may be 0 (the remaining digits are not
grouped).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L224)

<a id="function-with_number_group_sizes"></a>

### with_number_group_sizes

```rust
fn with_number_group_sizes(self: Self, value: &[i32]) -> Self
```

 The number of digits in each group of numbers, from the decimal
 separator leftwards; the last size repeats.

Panics when a size is not valid.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L224)

<a id="function-percent_group_sizes"></a>

### percent_group_sizes

```rust
fn percent_group_sizes(self: &Self) -> &[i32]
```

The number of digits in each group of percent values, from the
decimal separator leftwards; the last size repeats.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L224)

<a id="function-set_percent_group_sizes"></a>

### set_percent_group_sizes

```rust
fn set_percent_group_sizes(self: &mut Self, value: &[i32])
```

 The number of digits in each group of percent values, from the
 decimal separator leftwards; the last size repeats.

Panics when a size is not between 1 and 9, except the
last, which may be 0 (the remaining digits are not
grouped).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L224)

<a id="function-with_percent_group_sizes"></a>

### with_percent_group_sizes

```rust
fn with_percent_group_sizes(self: Self, value: &[i32]) -> Self
```

 The number of digits in each group of percent values, from the
 decimal separator leftwards; the last size repeats.

Panics when a size is not valid.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L224)

<a id="function-new"></a>

### new

```rust
fn new() -> NumberFormatInfo
```

Format information with the values of the invariant culture (C#
`new NumberFormatInfo()`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L239)

<a id="function-invariant_info"></a>

### invariant_info

```rust
fn invariant_info() -> Rc<NumberFormatInfo>
```

The format information of the invariant culture.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L283)

<a id="function-current_info"></a>

### current_info

```rust
fn current_info() -> Rc<NumberFormatInfo>
```

The format information of the current culture.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L288)

<a id="function-get_instance"></a>

### get_instance

```rust
fn get_instance(provider: Option<&Rc<NumberFormatInfo>>) -> Rc<NumberFormatInfo>
```

The given format information, or that of the current culture when
there is none (C# `GetInstance(IFormatProvider)`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/number_format_info.rs#L294)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- [`PropertyValue`](/docs/0.5.0/api/ferroui-base/trait-propertyvalue/)
- [`AnyValue`](/docs/0.5.0/api/ferroui-base/trait-anyvalue/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- `ErasedDestructor`
- `IntoEither`
- `Clone`
- `Debug`
- `PartialEq`
- `Default`
- [`MarkupTyped`](/docs/0.5.0/api/ferroui-base/metadata/trait-markuptyped/)
- [`ValueTypeRegistration`](/docs/0.5.0/api/ferroui-base/data/core/trait-valuetyperegistration/)

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
