change number to [integer and float]