# .NET MAUI NumericInput Globalization

 

Globalization is the process of designing and developing your application in such a way that it adapts to different culture configurations. The number formatting also varies between cultures, especially for some specific symbols, such as decimal separators, currency and other.

The NumericInput provides you the option to define the format of its numeric value through the `StringFormat` property. You can set it to the desired format which will be applied when the control loses focus.

> tip For detailed information about the supported numeric formats, refer to the [Standard Numeric Format Strings](https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-numeric-format-strings) topic.

Any culture-specific symbols in the display format will be applied according to the `UICulture` of the current thread. If not set explicitly, the `UICulture` is taken from the target device.

Let’s, for example, have the following NumericInput where `C` represents the Currency symbol:

```XAML
<telerik:RadNumericInput Value="1000" 
						 StringFormat="{}{0:C2}" />
```

Depending on the `UICulture` of the current thread, the result is the following:

**NumericInput with UICulture set to “en-US”**

![.NET MAUI NumericInput Globalization](https://www.telerik.com/maui-ui/documentation/assets/f70784a0082a126b9eefc26bf4f4ba61/numeric_features_globalization_1.png)

**NumericInput with UICulture set to “de-DE”**

![.NET MAUI NumericInput Globalization](https://www.telerik.com/maui-ui/documentation/assets/847d9ac5ec306bb962f3583c11b9f778/numeric_features_globalization_2.png)

> A string format is applied when the NumericInput control loses focus. So, if you want to switch the thread UICulture dynamically, you need to explicitly focus the NumericInput, then switch the focus to some other control, so that the change to take effect.
>
> Here is a quick snippet:
>
> ```C#
> this.input.Focus();
> this.othercontrol.Focus();
> ```

## See Also

* [Numeric String Format](https://www.telerik.com/maui-ui/documentation/controls/numericinput/numeric-string-format)
* [Configuration](https://www.telerik.com/maui-ui/documentation/controls/numericinput/configuration)
