For pound (£) there is HTML code £.
For INR can you please tell me the HTML code?
For pound (£) there is HTML code £.
For INR can you please tell me the HTML code?
How about using fontawesome icon for Indian Rupee (INR).
Add font awesome CSS from CDN in the Head section of your HTML page:
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
And then using the font like this:
<i class="fa fa-inr" aria-hidden="true"></i>
Here is one more example based on Intl.NumberFormat native api.
var number = 123456.789;
// India uses thousands/lakh/crore separators
console.log(new Intl.NumberFormat('en-IN', {
style: 'currency',
currency: 'INR',
// limit to six significant digits (Possible values are from 1 to 21).
maximumSignificantDigits: 6
}).format(number));
just add ₹ with semicolon where ever you want to display the rupee sign it worked for me
you can use र => र ,but this is not professional way.
I recommend that you should use fontawesome