# Editing Numeric Values

This topic provides info about C1TextBox, which supports a special editing mode called NumericInput mode.

## Content



[C1TextBox](/componentone/api/win/online-input/dotnet-framework-api/C1.Win.C1Input.4.8/C1.Win.C1Input.C1TextBox.html) supports a special editing mode called NumericInput mode that makes editing numeric values easier. This mode is enabled when the [NumericInput](/componentone/api/win/online-input/dotnet-framework-api/C1.Win.C1Input.4.8/C1.Win.C1Input.C1TextBox.NumericInput.html) property is set to **True** (default) and [DataType](/componentone/api/win/online-input/dotnet-framework-api/C1.Win.C1Input.4.8/C1.Win.C1Input.C1TextBox.DataType.html) is one of numeric data types (Byte, UInt16, UInt32, UInt64, SByte, Int16, Int32, Int64, Decimal, Single, Double). In the NumericInput mode, numbers are edited in a calculator-like fashion. It accepts only digits, +/- sign, and, if data type and format allow, decimal point and exponent. Other characters, such as letters, are ignored. There are also special functional keys recognized in NumericInput mode for values of type Single and Double: F9 (change sign), F2 (negative infinity), F3 (positive infinity), F4 (NaN, "not a number").

To make editing numbers even more convenient to the user, you can use the specialized [C1NumericEdit](/componentone/api/win/online-input/dotnet-framework-api/C1.Win.C1Input.4.8/C1.Win.C1Input.C1NumericEdit.html) control. In addition to C1TextBox functionality, it supports a drop-down calculator and up/down buttons (speed buttons) incrementing/decrementing the value by the specified [Increment](/componentone/api/win/online-input/dotnet-framework-api/C1.Win.C1Input.4.8/C1.Win.C1Input.C1NumericEdit.Increment.html).

## See Also

[Drop-Down and Increment Buttons](/componentone/docs/win/online-input/usingthec1inputcontr/dropdownandincrement)