Restrict number type to 16-bit signed integer