break numbers (num) to integers (int) and floats (float)