This should do the trick for you. Add the following lines to the preamble:
\renewcommand*\thesection{\arabic{section}.0}
\renewcommand*\thesubsection{\arabic{section}.\arabic{subsection}}
EDIT: Changed from document type book to article type document. those. chapter replaced by section and section replaced by unit.
EDIT: Thanks for pointing out the \ arabic command! I edited my answer accordingly.
source
share