Title: Sankhyaank
Author: Rahul Tank
Published: <strong>6 oktobris, 2026</strong>
Last modified: 6 oktobris, 2026

---

Meklēt spraudņus

![](https://ps.w.org/sankhyaank/assets/banner-772x250.png?rev=3729991)

![](https://ps.w.org/sankhyaank/assets/icon-256x256.png?rev=3729991)

# Sankhyaank

 Autors [Rahul Tank](https://profiles.wordpress.org/rahultank/)

[Lejupielādēt](https://downloads.wordpress.org/plugin/sankhyaank.1.0.0.zip)

 * [Sīkāka informācija](https://lv.wordpress.org/plugins/sankhyaank/#description)
 * [Atsauksmes](https://lv.wordpress.org/plugins/sankhyaank/#reviews)
 *  [Uzstādīšana](https://lv.wordpress.org/plugins/sankhyaank/#installation)
 * [Attīstība](https://lv.wordpress.org/plugins/sankhyaank/#developers)

 [Atbalsts](https://wordpress.org/support/plugin/sankhyaank/)

## Apraksts

WordPress groups digits in threes (1,234,567). In India the same number is written
12,34,567, and large amounts are usually read in lakh and crore.

Sankhyaank (“sankhyaank” means numeral in Hindi and Gujarati) adds a shortcode that
writes a number in the Indian numbering system:

 * `[sankhyaank value="1234567"]`  12,34,567
 * `[sankhyaank value="1234567" style="words"]`  12.35 lakh
 * `[sankhyaank value="20000000" style="words"]`  2 crore
 * `[sankhyaank value="250000" currency="inr"]`  ₹2,50,000
 * `[sankhyaank value="1234567" digits="gujarati"]`  ૧૨,૩૪,૫૬૭
 * `[sankhyaank value="1234567" digits="devanagari"]`  १२,३४,५६७

#### Shortcode options

 * `value` – the number. Commas and spaces in it are ignored.
 * `style` – `digits` (default) for 12,34,567, or `words` for thousand, lakh and
   crore.
 * `decimals` – how many decimal places to show. By default the number keeps its
   own decimals, and `words` uses up to 2.
 * `digits` – `latin` (default), `gujarati`, `devanagari`, or `auto` to use Gujarati
   digits on a Gujarati site and Devanagari digits on a Hindi or Marathi site.
 * `currency` – `inr` to add the rupee sign.

Large numbers stay exact, because the formatting works on the digits as text instead
of converting them to a floating point number.

The words thousand, lakh and crore can be translated, so a site in Gujarati or Hindi
can show them in its own language once translations are available.

#### For developers

Use the same formatting in a theme or plugin:

    ```
    echo esc_html( Sankhyaank::format( 1234567, array( 'style' => 'words' ) ) );
    ```

The plugin has no settings, stores nothing in the database and does not contact 
any external service.

## Uzstādīšana

 1. Upload the `sankhyaank` folder to `/wp-content/plugins/`, or install it from the
    Plugins screen.
 2. Activate the plugin.
 3. Add the shortcode to a post, a page or a Shortcode block.

## BUJ

### What happens if the value is not a number?

The value is shown as it was given, without formatting.

### Does it change the numbers WordPress shows elsewhere?

No. Only numbers inside the shortcode, or passed to `Sankhyaank::format()`, are 
formatted.

### Can it show amounts in words, such as “twelve lakh”?

Not in this version. The `words` style writes the number in digits followed by the
unit, such as 12 lakh.

## Atsauksmes

Par šo spraudni nav atsauksmju.

## Autori un izstrādātāji

“Sankhyaank” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

 *   [ Rahul Tank ](https://profiles.wordpress.org/rahultank/)

[Tulkot “Sankhyaank&#8221 savā valodā.](https://translate.wordpress.org/projects/wp-plugins/sankhyaank)

### Vai jūs interesē attīstība?

[Pārlūkojiet kodu](https://plugins.trac.wordpress.org/browser/sankhyaank/), apmeklējiet
[ SVN krātuvi ](https://plugins.svn.wordpress.org/sankhyaank/)vai abonējiet[ attīstības žurnālu](https://plugins.trac.wordpress.org/log/sankhyaank/),
ko izveidojis [RSS](https://plugins.trac.wordpress.org/log/sankhyaank/?limit=100&mode=stop_on_copy&format=rss).

## Izmaiņu žurnāls

#### 1.0.0

 * First release.

## Meta

 *  Versija **1.0.0**
 *  Pēdējo reizi atjaunots: **pirms 4 nedēļas**
 *  Aktīvās instalācijas: **Mazāk par 10**
 *  WordPress versija ** 6.0 vai jaunāka **
 *  Pārbaudīts līdz: **7.1.4**
 *  PHP versija ** 7.4 vai jaunāka **
 *  Valoda
 * [English (US)](https://wordpress.org/plugins/sankhyaank/)
 * Birkas:
 * [Rupee](https://lv.wordpress.org/plugins/tags/rupee/)[shortcode](https://lv.wordpress.org/plugins/tags/shortcode/)
 *  [Papildu skats](https://lv.wordpress.org/plugins/sankhyaank/advanced/)

## Vērtējumi

Vēl nav iesniegta neviena atsauksme.

[Your review](https://wordpress.org/support/plugin/sankhyaank/reviews/#new-post)

[Skatīt visasatsauksmes](https://wordpress.org/support/plugin/sankhyaank/reviews/)

## Līdzdalībnieki

 *   [ Rahul Tank ](https://profiles.wordpress.org/rahultank/)

## Atbalsts

Jums ir kaut kas ko teikt? Vajadzīga palīdzība?

 [Skatīt atbalsta forumu](https://wordpress.org/support/plugin/sankhyaank/)