Only allow automatic float/int conversion of dimensionless quantities