# How to typeset a number like 10.10.10 with the siunitx package?

I want to list the versions of some python modules I am using. The problem is that the format of the version has two dots, for example 10.10.10 or 1.04.5. When I try \num{10.10.10} I get the error: duplicate-decimal-token.

Is there a way to use the \num command from siunitx to typeset these numbers? Any alternative?

• Well, numbers are supposed to have only one dot (two parts) – user156344 Apr 24 '19 at 15:08
• Yes sure. But these particular numbers have two. Any idea? – kbr85 Apr 24 '19 at 15:12
• What exactly do you expect \num to do with a version number? – John Kormylo Apr 24 '19 at 15:14
• But does \num{10.10} look any different from 10.10? – John Kormylo Apr 24 '19 at 15:22
• If Alan Munn solves your problem, why don't use just 10.10.10? It is totally not different at all! – user156344 Apr 24 '19 at 15:30

You can set the parse-numbers key to false for these numbers.
\documentclass{article}