The MWE below yields
Runaway argument?
3\pgfflt@EOI \ifpgfmathfloatparsenumberpendingperiod \pgfmathfloat@a@Mtok \ETC.
./TeX-SE.tex:29: Paragraph ended before \pgfflt@readlowlevelfloat was complete.
<to be read again>
\par
when I attempt to use the int() function as documented in the pgf manual:

Notes:
- The
floorplot is added just to show that the syntax is correct. So, commuting out the second\addplotproduces an output.
Code:
\documentclass{article}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
axis lines=middle
]
%% This works
\addplot [
jump mark mid,
domain=-3:3,
samples=100,
very thick, red
] {floor(x)};
%%% This now no work.
\addplot [
jump mark mid,
domain=-3:3,
samples=100,
very thick, red
] {int(x)};
\end{axis}
\end{tikzpicture}
\end{document}

int. – percusse Jun 09 '15 at 07:57intis the “integral part”, the question you refer to is about drawing the graph of an antiderivative. – egreg Jun 09 '15 at 10:07