# How to typeset dimensions of a box?

I want to typeset something like this: 3.0 × 3.0 × 0.9 mm

How can I do that in LaTeX (using `siunitx` package)?

So far, I have this:

``````\num{3.0} × \num{3.0} × \SI{0.9}{\milli\metre}
``````

But probably someone else knows a better solution.

-
I'd use `\SI{2x3x4}{\milli\metre}` to avoid confusion – daleif Oct 28 '11 at 9:42
Shouldn't it be `3 x 3 x 0.9 mm^3`, since the expression describes a volume, not a length? – Jake Oct 29 '11 at 3:27
@Jake, strictly speaking, you are right. But in this context I was only interested in the length dimensions of a box, and not its volume. – Denilson Sá Oct 29 '11 at 3:38

``````\SI[product-units = single]{2 x 3 x 4}{\milli\metre}
You can also move that to your preamble, by giving `\sisetup{product-units = single}`, so you don't have to give the option every time. – Karl Sep 29 '15 at 12:17
And don't forget you can write `\SI[product-units=power]{2 x 3 x 4}{\milli\metre}` if you are interested in the volume (I know you aren't). – bers Nov 5 '15 at 23:28