The LaTeX compile generated an error. I discovered that the Spreadtab package no longer supported STautoround.
I substituted the autoround key, as described in the documentation. They output does not display the decimal digits. Spreadtab does calculate the arithmetic operations, properly.
Code: Select all
Code, edit and compile here:
\begin{center}% \STautoround*{2}\begin{spreadtab}[autoround=2]{{tabular}{|lrcr|}}\hline@\multicolumn{1}{|c}{\textbf{\textsc{Article}}} &@\multicolumn{1}{c}{\textbf{\textsc{Article Cost}}} &@\multicolumn{1}{c}{\textbf{\textsc{Quantity}}} &@\multicolumn{1}{c|}{\textbf{\textsc{Total Cost}}} \\& & & \\\hline@\ruckus\ \zoneflex\ 7782 \wifi\ \AccessPoint\ & 2999.00*1.0 & 3 & b3*c3 \\@901--7782--US01 & & & \\& & & \\\hline@\ruckus\ \zonedirector\ 1106 \wifi\ \Controller\ & 1200.00*1.0 & 1 & b6*c6 \\@(Primary \LAN\ \Controller) & & & \\@901--1106--US00 & & & \\& & & \\\hline@\ruckus\ Premium Support 1--Year & 240.00*.85*1.5*1.0 & 1 & b10*c10 \\@(Primary \LAN\ \Controller) & & & \\@801--1106--1000 & & & \\& & & \\\hline@\NETGEAR\ FS116P ProSafe \Switch\ & 185.00 & 1 & b14*c14 \\@16--Port 10/100 \POE\ (8--ports) & & & \\& & & \\\hline@Materials & & & (50.00*4)+0+750.00 \\ %CCLLC=$50/D*4D %CT=$750& & & \\\hline@Labor & & & (90*1*4)+2500.00 \\ %CCLLC=$90/H*1H/D*4D %CT=$2500& & & \\\hline@\textbf{Total} & & & sum(d3:d19) \\& & & \\\hline\end{spreadtab}\end{center}
This document does not load the two packages. However, as I stated, Spreadtab does calculate the arithmetic operations, properly without them.
Does the Spreadtab autoround key require them? If not, have I made an error in the code?
Thank you.