persian-number-converter
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

Persian Number Converter

A util function for converting numbers into their Persian format.

Overview

The PersianNumber function is designed to simplify the process of formatting numeric values into Persian (Farsi) numbers.

Installation

You can install the PersianNumber via npm :

npm install persian-number-converter

Usage

Import

Import the { PersianNumber } into your component:

import { PersianNumber } from "persian-number-converter";
const Example = 123;
PersianNumber(Number1);

Contributing

Contributions are welcome! Feel free to submit issues and pull requests.

License

This package is open-sourced software licensed under the MIT license.

تبدیل اعداد به فرمت فارسی

شاید براتون پیش اومده باشه که بخواید اعداد برنامه خودتون رو به شکل فارسی نمایش بدید این فانکشن برای ساده‌تر کردن فرمت‌ بندی مقادیر عددی به اعداد فارسی طراحی شده

چطور ازش استفاده کنم؟

فقط کافیه به شکل زیر عمل کنی

import { PersianNumber } from "persian-number-converter";
const Example = 123;
PersianNumber(Number1);

Package Sidebar

Install

npm i persian-number-converter

Weekly Downloads

15

Version

1.0.7

License

MIT

Unpacked Size

4.36 kB

Total Files

8

Last publish

Collaborators

  • alirezawmoadi