@tagplus/components 0.2.108 → 0.2.109
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tp.common.js +1 -4
- package/dist/tp.common.js.map +1 -1
- package/dist/tp.umd.js +1 -4
- package/dist/tp.umd.js.map +1 -1
- package/dist/tp.umd.min.js +1 -1
- package/dist/tp.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/utils/filters.js +1 -4
package/dist/tp.umd.js
CHANGED
|
@@ -6804,10 +6804,7 @@ var locale_t = function t(path, options) {
|
|
|
6804
6804
|
*/
|
|
6805
6805
|
|
|
6806
6806
|
var filters_toCurrency = function toCurrency(val) {
|
|
6807
|
-
return val.toLocaleString(locale_t('locale.prefix')
|
|
6808
|
-
minimumFractionDigits: 2,
|
|
6809
|
-
maximumFractionDigits: 2
|
|
6810
|
-
});
|
|
6807
|
+
return (parseInt(val * 100) / 100).toLocaleString(locale_t('locale.prefix'));
|
|
6811
6808
|
};
|
|
6812
6809
|
/**
|
|
6813
6810
|
* Converte uma string de data em um objeto Date
|