Skip to content

Accept "nis" as a name for the shekel - #100

Open
GruperTal wants to merge 1 commit into
typecraft-dev:mainfrom
GruperTal:nis-alias
Open

GruperTal wants to merge 1 commit into
typecraft-dev:mainfrom
GruperTal:nis-alias

Conversation

@GruperTal

Copy link
Copy Markdown

Adds nis (new Israeli shekel) as a calculator name for ILS, next to shekel, shekels and ils. It's how most people in Israel write the currency, the same way rmb already maps to CNY.

  • 100 nis to usd → $31.63
  • 10 nis + 5 shekels → ₪15.00

nis didn't clash with any unit name. I added one assertion to the currency test. node --test tests/*.test.js passes: 184 passed, 3 skipped.

🤖 Generated with Claude Code

NIS (new Israeli shekel) is what most people in Israel type, alongside
the ISO code ILS.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant