Just to add this on, don't forget you can also checking what key they are pressing while they are in the text box. You can have it make sure they are entering in 0-9 or "." and just handle and...