Formats

The NumericTextBox accepts only numeric entries and its specific format defines the conversion data type—for example, currency or percentage.

The following example demonstrates how to render a currency NumericTextBox.

    @(Html.Kendo().NumericTextBox()
        .Name("currency")
        .Format("c")
    )

The following example demonstrates how to render a percentage NumericTextBox.

    @(Html.Kendo().NumericTextBox()
        .Name("percentage")
        .Format("p0")
    )

See Also

In this article
Not finding the help you need? Improve this article