## LaTeX forum ⇒ Math & Science ⇒ Problem with FPeval and datatool

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

### Problem with FPeval and datatool

Hi,

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

Here is an example:

\documentclass[12pt,a4paper]{article}
\usepackage{amsfonts, amsmath, amssymb, latexsym, amscd}
\usepackage[latin1]{inputenc}
\usepackage[german]{babel}
\usepackage{datatool}
\usepackage{fp}

\begin{document}
\DTLsetseparator{;}
\DTLsetseparator{,}

$\frac{1}{\D{xA}{43}}$

\FPeval{\result}{round(1+1/2,2)}
\result

\FPeval{\resultt}{round(1/\D{xA}{43},2)}
\resultt

\end{document}

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

Attachments
Komm_2005R_2010-12_0_5.csv