Take out decimal for Yen Currency


/ Published in: jQuery
Save to your folder(s)

Working on an ecommerce site I found out from our Japanese distrubutors that they don't have a decimal for the currency since yen doesn't deal in change. 1 yen is a fraction of a cent anyway!

This code looks for the Yen since within a and if it has the yen which is uFFE5 to a browser, it replace the .00 with nothing.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.