What is a ratio of two measurements having different kinds of units?

$43 \text{ gm":27" cc}$
or $\left(43 \text{ gm")/(27" cc}\right)$