Is there a way to have a more common output format on MixedUnit
?
Quantity[317.2,MixedUnit[{"Minutes"/"Kilometers", "Seconds"/"Kilometers"}]]
gives
I would love to have some unit like $$\frac{317\,\text{min } 12\, \text{s}}{km}$$
Quantity[317.2, MixedUnit[{"Minutes", "Seconds"}]/"Kilometers"]
gives an error
{Quantity[MixedMagnitude[{317, 0}], MixedUnit[{("Minutes")/("Kilometers"), ("Seconds")/("Kilometers")}]], Quantity[MixedMagnitude[{12., 0}], MixedUnit[{("Minutes")/("Kilometers"), ("Seconds")/("Kilometers")}]]}
to get your result I needQuantity[MixedMagnitude[{IntegerPart[#], 60*FractionalPart[#]} &[317.2]], MixedUnit[{"Minutes"/"Kilometers", "Seconds"/"Kilometers"}]]
$\endgroup$