Use the tag propery to store the number. Then use val on that number, not the one displayed to the user...