I am trying to use datatools
\DTLfetch to grab a real number from a database loaded from a .csv file, and then pass this numeric argument to
Problem is that
\DTLfetch always seems to return a string instead of a numeric, which gives an error because FP can't handle string datatypes.
\DTLgetvalue always returns the desired numeric datatype and everything works, however, I really need
I have spent the last two days trying to figure out how to convert a string to a numeric datatype in LaTeX, or alternatively, how to get
\DTLfetch to return a numeric value instead of a string.
Is LaTeX seriously deficient in this capability? or am I missing something fundamental? Should I use Sagetex to do the conversion?