[Tex/LaTex] Tikz: Missing number, treated as zero


After reading many related questions here about "Missing number, treated as zero", I still do not understand why the following example results in such an error message:




\clip(2.5,-1.5) rectangle (6,2);
\draw(4+{sin(0)}, {cos(0)}) circle(4pt);



Best Answer

Change 4+{sin(0)} to {4+sin(0)}. The mathematics routines only apply to stuff inside curly brackets.