Not an answer, just providing the MWE:
\documentclass{article}
\renewcommand*\thesection{\arabic{section}.0}
\renewcommand*\thesubsection{\arabic{section}.\arabic{subsection}}
\renewcommand*\thesubsubsection{%
\arabic{section}.\arabic{subsection}.\arabic{subsubsection}%
}
\begin{document}
\tableofcontents
\section{Section A}
\section{Section B}
\subsection{Subsection A}
\subsection{Subsection B}
\subsubsection{Subsubsection A}
\subsubsection{Subsubsection B}
\end{document}

The only problem I can see is the narrow distance between the section number and the section title in the table of contents because of the added .0.
Refinement. From the comments it seems the default for counter secnumdepth is two,
then the class is probably not article but report or book or similar.
New Example:
\documentclass{report}
\renewcommand*\thesection{\arabic{section}.0}
\renewcommand*\thesubsection{\arabic{section}.\arabic{subsection}}
\renewcommand*\thesubsubsection{%
\arabic{section}.\arabic{subsection}.\arabic{subsubsection}%
}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\begin{document}
\tableofcontents
\chapter{Chapter X}
\section{Section A}
\section{Section B}
\subsection{Subsection A}
\subsection{Subsection B}
\subsubsection{Subsubsection A}
\subsubsection{Subsubsection B}
\end{document}

\thesubsubsectionis not defined and so you can't use\renewcommand. Use\newcommandor\definstead. But to know for sure you need to at least provide the exact error message. – canaaerus Aug 27 '12 at 7:45\setcounter{secnumdepth}{3}. – Ulrike Fischer Aug 27 '12 at 8:42\setcounter{tocnumdepth}{3}. – Ulrike Fischer Aug 27 '12 at 9:59