Title: Sankhyaank
Author: Rahul Tank
Published: <strong>2026 年 10 月 6 日</strong>
Last modified: 2026 年 10 月 6 日

---

搜尋外掛

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

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

# Sankhyaank

 由 [Rahul Tank](https://profiles.wordpress.org/rahultank/) 開發

[下載](https://downloads.wordpress.org/plugin/sankhyaank.1.0.0.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/sankhyaank/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/sankhyaank/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/sankhyaank/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/sankhyaank/#developers)

 [技術支援](https://wordpress.org/support/plugin/sankhyaank/)

## 外掛說明

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.

## 安裝方式

 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.

## 常見問題集

### 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.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Sankhyaank〉的開發相關工作。

參與者

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

[將〈Sankhyaank〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/sankhyaank)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/sankhyaank/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/sankhyaank/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/sankhyaank/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/sankhyaank/)。

## 變更記錄

#### 1.0.0

 * First release.

## 中繼資料

 *  版本 **1.0.0**
 *  最後更新 **4 週前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 6.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.1.4**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/sankhyaank/)
 * 標籤:
 * [Rupee](https://tw.wordpress.org/plugins/tags/rupee/)[shortcode](https://tw.wordpress.org/plugins/tags/shortcode/)
 *  [進階檢視](https://tw.wordpress.org/plugins/sankhyaank/advanced/)

## 評分

這個項目尚無任何評論記錄。

[撰寫評分](https://wordpress.org/support/plugin/sankhyaank/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/sankhyaank/reviews/)

## 參與者

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

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/sankhyaank/)