XSLT format-number with comma for indian price

I want to display a price for India, like this : 5,55,555

And not 555,555

Rules :

There is no decimal.

There is a comma eg:

  • 1,000 one thousand
  • 10,000 ten thousand
  • 1,00,000 one lakh

My code :

<Price>555555</Price> <xsl:decimal-format name="Format_INR" grouping-separator="," /> <xsl:value-of select="format-number(Price, '#,##,###', 'Format_INR')" /> 

But it display : 555,555

Somebody have the same trouble ?

Thank you for your help.

Replay

Category: xslt Time: 2016-07-28 Views: 0
Tags: xslt

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.201 (s). 12 q(s)