Best way to enter numeric values with decimal points?
Posted
by Andrew Grant
on Stack Overflow
See other posts from Stack Overflow
or by Andrew Grant
Published on 2008-11-09T19:51:48Z
Indexed on
2010/04/14
10:53 UTC
Read the original article
Hit count: 333
iphone
|cocoa-touch
In my app users need to be able to enter numeric values with decimal places. The iPhone doesn't provides a keyboard that's specific for this purpose - only a number pad and a keyboard with numbers and symbols.
Is there an easy way to use the latter and prevent any non-numeric input from being entered without having to regex the final result?
Thanks!
© Stack Overflow or respective owner