LaTeX forum ⇒ Math & ScienceProblem with FPeval and datatool

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Posts: 3
Joined: Wed Jul 06, 2016 11:23 am

Problem with FPeval and datatool

Postby Oelle74 » Thu Sep 02, 2021 9:40 am


I would like to calaculate with numbers which I have imported via datatool.

Here is an example:

\usepackage{amsfonts, amsmath, amssymb, latexsym, amscd}

\newcommand{\D}[2]{\FPadd{\erg}{1}{#2}\FPround{\erg}{\erg}{0} \DTLgetvalue{\A}{Komm}{\erg}{\dtlcolumnindex{Komm}{D#1}} \A}





The import works well, but the last two code lines don't work. Please find attached the csv-file which I use.

Can anybody help me please?
(20.17 KiB) Downloaded 68 times

Recommended reading 2021: •
LaTeX Beginner's Guide LaTeX Cookbook

Return to “Math & Science”

Who is online

Users browsing this forum: No registered users and 3 guests