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.5.tar.gz
(2.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file num2heb-0.1.5.tar.gz.
File metadata
- Download URL: num2heb-0.1.5.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0bc7e5c0685d6d10e6744176b26612cf2a27b2200962ca388e43aff33bb3980
|
|
| MD5 |
c15605b2881db11a24870c4438072998
|
|
| BLAKE2b-256 |
7aeb4b3d1b575429d3dbdf8b0b26f8d0c4b91fb29170501885b0de2ad0ec76c5
|
File details
Details for the file num2heb-0.1.5-py3-none-any.whl.
File metadata
- Download URL: num2heb-0.1.5-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7afd147059b3901c826f3593c0e2fb1d07eca938f4b7d1f5dd33500c8d209a6d
|
|
| MD5 |
b9818cfdfdf9d15729d3d2bb09d41f48
|
|
| BLAKE2b-256 |
d86f346f526b759340de4f66f7ad9dc5ae9bf3da8b1e47dbc535008e2e3dc3bc
|