Get Free Trial

Indian Currency Format

Subramanian asked on October 22, 2020

Hi Team,
I want to apply for the Indian currency format. Please suggest to me how to achieve it.
E.g 100,000 – 1,00,000

2 answers

Illia Yatsyshyn Illia Yatsyshyn Flexmonster October 23, 2020

Thank you for contacting us.
Flexmonster does not support the Indian rupee format by default.
Even so, it is possible to use customizeCell hook to achieve the desired result. This API call allows the customizing of separate cells. For example, you can add links, custom styles, or formatting.
The following code snippet demonstrates how to format members of the “Price” hierarchy according to your requirement:

flexmonster.customizeCell((cell, data) => {
  if (data.type == "value" && data.measure && data.measure.uniqueName == "Price")
    cell.text = data.value.toLocaleString('en-IN', {
      maximumFractionDigits: 2,
      style: 'currency',
      currency: 'INR'

We have prepared the corresponding JSFiddle for your reference.
Please let us know if it helps.
Do not hesitate to contact us if any further questions arise.
Kind regards,

Subramanian November 9, 2020

Thank you Illia, It helps for me

Please login or Register to Submit Answer