New to Telerik UI for .NET MAUI? Start a free 30-day trial

Numeric Format String

The NumericInput provides you the option to define the format of its numeric value. The desired format which will be applied when the control loses focus.

String Format

The StringFormat(string) specifies the string format applied to the numeric value when the control loses focus.

Standard Numeric Format Strings

You can find detailed information about the supported numeric formats in the Standard Numeric Format Strings Microsoft documentation.

Example

Define the NumericInput.

<telerik:RadNumericInput StringFormat="{}{0:P2}" />

Add the telerik namespace:

xmlns:telerik="http://schemas.telerik.com/2022/xaml/maui"

Check below the result on different platforms:

NumericInput String Format

See Also

In this article
Not finding the help you need?