Use NumericEdit to have a field for any kind if numeric values. All basic types are supported, including nullables(
<NumericEdit Value="123" />
Since NumericEdit is a generic component you will have to specify the exact data type for the value. Most of the time it will be recognized automatically when you set the
Value attribute, but if not you will just use the
TValue attibute and define the type manually eg.
<NumericEdit TValue="int?" />
Attributes & Usage
NumericEdit is just a specialized version of
TextEdit component so all of the rules and styles are still working all the same. See TextEdit to find the list of supported attributes.