Update class.php

Added numbersOnly()