rpbouman / huey

A UI for DuckDB
MIT License
181 stars 14 forks source link

Summation error when using "Max. fraction digits" to zero #73

Closed IvoMoor closed 5 months ago

IvoMoor commented 6 months ago

When setting option "Max. fraction digits" to zero, the summations of values are not working anymore: image

Error is thrown in SQLHelper.js (function createNumberFormatter): image

When using a "Max. fraction digits" higher than zero, the summation is done correct.