Numeric Input Value Formatting

RadNumericInput 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

  • 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 here: Standard Numeric Format Strings.

Example

<telerikInput:RadNumericInput x:Name="numericStrFormat" StringFormat="{}{0:C2}" />
Add the following namespase:
xmlns:telerikInput="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.Maui.Controls.Compatibility"

And the result:

NumericInput String Format

See Also

In this article
Not finding the help you need?