fooplugins / FooTable

jQuery plugin to make HTML tables responsive
https://fooplugins.com/plugins/footable-jquery/
Other
2.13k stars 640 forks source link

Apply thousandSeparator to integer values #895

Open otovalek opened 1 year ago

otovalek commented 1 year ago

When the value has no decimal part, s.length is 1 and thousandSeparator is not applied. The s.length == 2 check is excessive here, as well as the s[0].length > 3. The function behaves fine without it.

Fixes fooplugins/FooTable#894