This is a migrated thread and some comments may be shown as answers.

Remove exponent in RadMaskedNumericInput

1 Answer 78 Views
MaskedInput (Numeric, DateTime, Text, Currency)
This is a migrated thread and some comments may be shown as answers.
Viet
Top achievements
Rank 1
Viet asked on 14 Dec 2020, 01:40 AM

Hi there, 

I am using RadMaskedNumericInput to prevent users to input alphabet characters in my numeric input field. But if users enter more than 16 digits, the exponent symbol will appear. Is there any way to remove the exponent symbol. 

Best regard.

Viet

1 Answer, 1 is accepted

Sort by
0
Vladimir Stoyanov
Telerik team
answered on 16 Dec 2020, 12:35 PM

Hello Viet,

Note, that the Value property of the RadMaskedNumericInput is of type nullable double the precision of which is about 15-16 digits. With this in mind, the control is limited to entering numbers in that range. 

That said, you can consider using the MaskedCurrencyInput, which uses a decimal type for its Value and supports entering larger numbers. 

I hope you find this information helpful.

Regards,
Vladimir Stoyanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
MaskedInput (Numeric, DateTime, Text, Currency)
Asked by
Viet
Top achievements
Rank 1
Answers by
Vladimir Stoyanov
Telerik team
Share this question
or