C#C
C#15mo ago
glow

razor page says the number 2 is invalid

I'm new to coding in general and I'm trying to take a numeric from a form and bind it, but whenever I try to enter a number into the form, the debugger says the value is invalid and it got converted to an empty string.I can't figure out why it's doing that. What am I missing?
image.png
Was this page helpful?