# Formats

The NumericTextBox accepts only numeric entries and its specific [`format`](https://www.telerik.com/kendo-jquery-ui/documentation/globalization/intl/numberformatting) defines the conversion data type—for example, currency or percentage.

The following example demonstrates how to render a currency NumericTextBox.

```
 <input id="textbox">

 <script>
    $("#textbox").kendoNumericTextBox({
        format: "c2" // Define the currency format signified with the letter "c" and a two-digit precision.
    });
</script>
```

The following example demonstrates how to render a percentage NumericTextBox.

```
<input id="textbox">

 <script>
    $("#textbox").kendoNumericTextBox({
        format: "p", // Define the percentage format signified with the letter "p".
        value: 0.15 // 15 %
    });
</script>
```

## See Also

* [JavaScript API Reference of the NumericTextBox](https://www.telerik.com/kendo-jquery-ui/documentation/api/ui/numerictextbox)
* [Known Limitations in the NumericTextBox](https://www.telerik.com/kendo-jquery-ui/documentation/controls/numerictextbox/limitations)
