- var filters = {
- delDecimal: function(str){
- console.log('indeldecimal');
- var restr = 0;
- restr = parseInt(str) / 100 > 0 ? parseInt(parseInt(str) / 100) : 0;
- console.log('restr',restr)
- return restr;
- }
- }
- module.exports = {
- delDecimal: filters.delDecimal
- }
|