jenner / LstGen

Code-Generator für die Lohnsteuerberechnung aus PAP XML
MIT License
47 stars 16 forks source link

Javascript output use BigDecimal unknown #10

Closed Dexus closed 4 years ago

Dexus commented 4 years ago

Hi, javascript output use BigDecimal but not very much browsers support it. Is there any polifill?

jenner commented 4 years ago

It's nearly impossible to suggest a default BigDecimal implementation, the JS package landscape is huge, see e.g. https://dev.to/fvictorio/a-comparison-of-bignumber-libraries-in-javascript-2gc5 I guess my initial idea of just using "BigDecimal" was to let the user choose which package to use and provide a matching wrapper much like the one I added for python.

Dexus commented 4 years ago

ok, that will make sense for me now. thank you.