Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27410

VS 2008 How to disable option to enter number as "3e4" for "30000"

$
0
0
I have limited my DGV cells max input value:
Code:

CType(.Item("width"), DataGridViewTextBoxColumn).MaxInputLength = 3
But if I enter 3e4 (I tested if I could enter numbers only), then this is a valid input and it converts to the number 30000, so it interprets the e as exponent function. How can I disable that?

Viewing all articles
Browse latest Browse all 27410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>