var formatter = new Intl.NumberFormat('en-IN', {
  style: 'currency',
  currency: 'INR',
  currencyDisplay: 'code',
})

export default function inr(amount: number) {
  return formatter.format(amount).replace('INR', '').trim()
}
