function priceFromatter(price) {
  const options = {
    style: 'currency',
    currency: 'INR'
  };
  const formatter = Intl.NumberFormat('en-IN', options);

  return formatter.format(price);
}
// Function to format the Price into INR and formatting it using JS Intl API
Function to format the Price into INR and formatting it using JS Intl API
Function to format the Price into INR and formatting it using JS Intl API
function priceFromatter(price) {
  const options = {
    style: 'currency',
    currency: 'INR'
  };
  const formatter = Intl.NumberFormat('en-IN', options);
  return formatter.format(price);
}
function priceFromatter ( price ) { const options = { style : 'currency' , currency : 'INR' } ; const formatter = Intl . NumberFormat ( 'en-IN' , options ) ; return formatter . format ( price ) ; }
Function to format the Price into INR and formatting it using JS Intl API
Function to format the Price into INR and formatting it using JS Intl API