Use typeof number as suggested.