# NumericUpDown

A Wisej.NET `NumericUpDown` control contains a single numeric value that can be incremented or decremented using the up or down buttons. Users can enter values directly unless the `ReadOnly` property is set to `true`.

Format the numeric display using the `DecimalPlaces`, `Hexadecimal`, or `ThousandsSeparator` properties. Set `Hexadecimal` to `true` to display hexadecimal values. Enable `ThousandsSeparator` to display the thousands separator in decimal numbers. Set `DecimalPlaces` to specify the number of digits after the decimal symbol.

{% hint style="info" %}
For a full list of properties, methods and events see the [API documentation.](http://docs.wisej.com/api)
{% endhint %}

## Features

### Label

The `NumericUpDown` control supports the inline [Label](/docs/controls/general/labels.md) property. This allows setting a label in relation to a `NumericUpDown` control without creating an additional `Label` control.

![NumericUpDown control with label](/files/-MdNz35Mth2gHEjWcNEQ)

{% content-ref url="/pages/-MIuBO1zCPpT0Jut8LQd" %}
[Labels](/docs/controls/general/labels.md)
{% endcontent-ref %}

### Formatting

The `NumericUpDown` control offers several formatting properties. The `Prefix` property prepends a character or string to the value. The `Postfix` property appends a character or string to the value. Enable the `ThousandsSeparator` property to display commas for values exceeding three digits.

![NumericUpDown with formatting options](/files/-MdXt02QDWGCyafrWOlL)

## Advanced

### JavaScript Widget

| Item             | Description                                                                                                         |
| ---------------- | ------------------------------------------------------------------------------------------------------------------- |
| Class name       | "wisej.web.NumericUpDown"                                                                                           |
| Theme appearance | "spinner", see [Themes](https://docs.wisej.com/theme-builder/theme-elements/elements).                              |
| Child components | "upbutton" is the up button. "downbutton" is the down button. "textfield" is the textfield.                         |
| Source code      | [https://github.com/iceteagroup/wisej-js](https://github.com/iceteagroup/wisej-js/blob/master/wisej.web.TextBox.js) |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.wisej.com/docs/controls/editors/numericupdown.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
