Skip to Content
0
Former Member
Jul 18, 2016 at 08:53 AM

How to Bind Number type to Model

32 Views

hi,

i want to bind a number type(textbox of type number) to model. When i am binding its converting number to string automatically.. Is thr a way to bind a number to model ?

<Input value="{incorrectPoint}" type="Number"/>

typeof incorrectPoint is string.. how will i make this to Number ??