eric-wood / excel2latex

Javascript .xlsx to LaTeX table converter
90 stars 28 forks source link

Round down numbers #13

Open joerikock opened 8 years ago

joerikock commented 8 years ago

Hey Eric,

When I have a sheet in excel where the numbers are rounded down, this doesn't convert well into LaTeX, in which the numbers are still the number of decimals before they were rounded down.

eric-wood commented 8 years ago

The one weakness excel2latex has currently is it only grabs the raw numbers and doesn't support any numeric formatting.

I've taken a couple cracks at implementing them over the years, but each time ran into trouble trying to extract the data. One time I even rewrote the entirety of excel2latex to use a few different xslx parsers, but even they didn't support numeric formatting.

Lately I haven't had the time to work on it, but I'm hoping to implement this one day. Perhaps someone will one day open a pull request to add this functionality!