Latest news 2021-06-05: New blog post: Dickimaw Books Site Account.

# Bug Tracker

ID 114🔗 2016-08-27 05:10:02 Open Sign in if you want to bump this report. datatool 2.27 fp and pgfmath

## Description

In the MWE file provided, when using the option math=fp everything is fine, but when using math=pfgmath in the log file, it appears
´ ABD: EveryShipout initializing macros
./file.tex:10: Dimension too large.
=
l.10 ...olumn{scores}{Assignment 1}{\averagescore}
%
I can't work with sizes bigger than about 19 feet.
Continue and I'll use the largest value I can.

And if I also uncomment the next line (\DTLsdforkeys{scores}{Assignment 1}{\stdev}) it will appear one "2" in the output file.

## MWE

\documentclass{article}

%\usepackage[math=fp]{datatool}
\usepackage[math=pgfmath]{datatool}

\DTLloaddb{scores}{sample-student-records.csv} % this data file may be found in http://www.ctan.org/tex-archive/macros/latex/contrib/datatool/samples

\begin{document}

\DTLmeanforcolumn{scores}{Assignment 1}{\averagescore}%
%\DTLsdforkeys{scores}{Assignment 1}{\stdev}

\begin{tabular}{cc}
left & right
\end{tabular}

\end{document}


## Evaluation

This is a limitation of the pgfmath library not a bug in datatool, so unfortunately there's nothing I can do about it (other than add a note in the manual that there are different drawbacks to the available libraries).

Name (optional):

Are you human? Please confirm the bug report ID (which can be found at the top of this page) or login if you have an account.

Comment:

You can use the following markup:

Block:

[pre]Displayed verbatim[/pre]
[quote]block quote[/quote]

In line:

[tt]code[/tt]
[file]file/package/class name[/file]
[em]emphasized text[/em]
[b]bold text[/b]
[url]web address[/url] [sup]superscript[/sup]
[sub]subscript[/sub]

Ordered list:
[ol]
[li]first item[/li]
[li]second item[/li]
[/ol]

Unordered list:
[ul]
[li]first item[/li]
[li]second item[/li]
[/ul]

You can use the Preview button to review your message formatting before submitting.