Skip to main content

A Function to convert a number into words in Hebrew

Project description

num2heb

Convert numbers to Hebrew words in Python and JavaScript.

Installation

Python

pip install num2heb

JavaScript/TypeScript

npm install num2heb

Usage

Python

from num2heb import number_to_words

result = number_to_words(123)
print(result)  # Output: "מאה עשרים ושלושה"

JavaScript

const numberToWords = require("num2heb");

const result = numberToWords(123);
console.log(result); // Output: "מאה עשרים ושלושה"

TypeScript

import numberToWords from "num2heb";

const result: string = numberToWords(123);
console.log(result); // Output: "מאה עשרים ושלושה"

Contributing

If you would like to contribute to this package, please fork the repository and submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

num2heb-0.1.14.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

num2heb-0.1.14-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file num2heb-0.1.14.tar.gz.

File metadata

  • Download URL: num2heb-0.1.14.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.3

File hashes

Hashes for num2heb-0.1.14.tar.gz
Algorithm Hash digest
SHA256 143b7a696c569c444aac4d6f85f91cd40ccd9bf756cd29d8fdd6cc7094dc729c
MD5 62fb37268f8eaa7d6991a85347d66ad4
BLAKE2b-256 1ebeba56c387a647b06cd4693839045748e451529f65691044fd6a83cebdd9b4

See more details on using hashes here.

File details

Details for the file num2heb-0.1.14-py3-none-any.whl.

File metadata

  • Download URL: num2heb-0.1.14-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.3

File hashes

Hashes for num2heb-0.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 59afcf729d0ebcdb5d7c39eb2fcf329cc86676faed320f043f3189026bdd4427
MD5 a9ebea5c186483d91984f8b25f2da4fe
BLAKE2b-256 26a61f9b7fa5651c18a1b5ce0863713b5b1d1b72e5049cbc98b62b090ea50893

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page