@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.common.js
CHANGED
|
@@ -6795,10 +6795,7 @@ var locale_t = function t(path, options) {
|
|
|
6795
6795
|
*/
|
|
6796
6796
|
|
|
6797
6797
|
var filters_toCurrency = function toCurrency(val) {
|
|
6798
|
-
return val.toLocaleString(locale_t('locale.prefix')
|
|
6799
|
-
minimumFractionDigits: 2,
|
|
6800
|
-
maximumFractionDigits: 2
|
|
6801
|
-
});
|
|
6798
|
+
return (parseInt(val * 100) / 100).toLocaleString(locale_t('locale.prefix'));
|
|
6802
6799
|
};
|
|
6803
6800
|
/**
|
|
6804
6801
|
* Converte uma string de data em um objeto Date
|