Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript rupiah currency format

const rupiah = (number) => {
	return new Intl.NumberFormat("id-ID", {
		style: "currency",
		currency: "IDR"
	}).format(number);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #rupiah #currency #format
ADD COMMENT
Topic
Name
5+1 =