Question by
triplebot573 · Dec 01, 2017 at 03:23 PM ·
textinputfieldnumbers
how to use scientific values in inputfield unit or restrict only some letters
I'm Making a program Which Would tell you the Swarzschild Radius for a Given mass which is input by the User using an Inputfield. The Thing is Swarzschild radius is really small and i need to use large values like in powers of 10 for the input of mass. i already saw that we can write 'e' for the powers of ten like 2.732e-11 or 8.6e20 etc but for that I'll have to use The standard character validation to use the letter 'e' . so what I am asking is how to force it to only accept the letter 'e' , numbers ,decimal points and minus signs only and reject all other letters or puncuation
Comment