const sellingProductFormat = (value) => { if (value > 1000) { const formattedValue = (value / 1000).toFixed(0).replace('.', ',') return formattedValue + 'rb+'; } else { return value.toString() } } export { sellingProductFormat }