Skip to content

Instantly share code, notes, and snippets.

@jsakamoto
Created September 18, 2012 13:38
Show Gist options
  • Select an option

  • Save jsakamoto/3743139 to your computer and use it in GitHub Desktop.

Select an option

Save jsakamoto/3743139 to your computer and use it in GitHub Desktop.
test("prepend Yen sign.", function () {
QUnit.equal(formatAsYen(123), "\\123");
});
test("insert comma at par 3characters.", function () {
QUnit.equal(formatAsYen(1234567), "\\1,234,567");
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment