সাঁচ:NPRConvert
रू0 ({{INRConvert/এক্সপ্ৰেছন ত্ৰুটী: অপৰিচিত বিৰামচিহ্ন কেৰেক্টাৰ "["|0/1.6|0||USD|year={{{year}}}}})
|
|
এই সাঁচটো সাঁচ বিন্যাসৰ জটিল বৈশিষ্টৰে পৰিপূৰ্ণ।
এই সাঁচটো সম্পাদনা কৰাৰ আগতে আপুনি ইয়াৰ ব্যৱস্থাপনা আৰু পাৰ্চাৰ ফাংচন সম্পৰ্কে ভালকৈ জনাতো বাঞ্চনীয়। যদি আপোনাৰ সম্পাদনাই অবাঞ্চিত সমস্যাৰ সৃষ্টি কৰিছে, অনুগ্ৰহ কৰি অতি সোনকালে ইয়াক পূৰ্বৱত কৰক কিয়নো এই সাঁচটো অসংখ্য পৃষ্ঠাত ব্যৱহৃত হৈ থাকিবও পাৰে। মনত ৰাখিব যে, এই সাঁচটোত পৰিবৰ্তন ঘটোৱাৰ আগত আপুনি যিকোনো ধৰণৰ পৰীক্ষা, আৰু সাঁচটো উন্নীতকৰণৰ পৰীক্ষামূলক কাৰ্য সাধাৰণ সাঁচ পৰীক্ষাগাৰ অথবা আপোনাৰ সদস্য স্থানত কৰিব পাৰে। |
Purpose
[সম্পাদনা কৰক]The purpose of this template is to automatically convert and format currency from Nepalese Rupees to other currencies (United States dollars by default) applying adjustment for inflation where appropriate. Rates of exchange and inflation must be manually copied by editors therefore the template's output does not necessarily reflect the present exchange rates or price indices but, rather, reflects the rates and indices at the time of the last update.
Nepali Currency Conversion is pegged to the Indian Rupee so, calculation can be made based with Indian Rupees.[1]
Usage
[সম্পাদনা কৰক]{{NPRConvert|rupee_value|currency_formatting|rounding digits|lk=|to=|year=}}
Parameters
[সম্পাদনা কৰক]A description of the template's parameters are listed below.
| Field name | Usage | Description |
rupee_value |
mandatory | The value, in Nepalese Rupees, that needs to be converted. The template will not accept pre-formatted values (i.e. 1,234). |
currency_formatting |
optional | Used to represent larger numbers. Available options are as follows.
|
rounding_digits |
optional | Used to round significant digits. Negative values (-2, -3) can be used to round values to the nearest hundred or thousand, etc. A value of "0" will drop Paisa or cent values from the converted number. By default the conversion will be rounded to two significant figures. Refer to the Examples section below for more examples. |
lk |
optional | This parameter gives you the option of internally linking currency names (rupees and Paisa) and/or number names (lakh and crore). By default, the parameter is set to "off" (i.e. it is set not to link). Available options are as follows.
On by default. |
year |
optional | This parameter allows for inflation. Historic rupee values will be inflated to current values then converted. |
to |
optional | This parameter allows for conversion to various different currencies (and some combinations). Currently, the US (default), Canadian, Australian and New Zealand dollars, the euro, the pound sterling, Pakistani rupee and the Bangladeshi taka are supported. |
mode |
optional | This parameter controls the output mode. Setting it to blank or omitting it results in the default mode. Setting it to historical allows conversion using historical exchange rates. The year parameter must be between 1970 and 2018 in historical mode.
|
Examples
[সম্পাদনা কৰক]| NPRConvert syntax | Results | |
|---|---|---|
{{NPRConvert|1}} |
रू1 ({{INRConvert/এক্সপ্ৰেছন ত্ৰুটী: অপৰিচিত বিৰামচিহ্ন কেৰেক্টাৰ "["|1/1.6|0 | year={{{year}}}}}) |
{{NPRConvert|500}} |
रू500 ({{INRConvert/এক্সপ্ৰেছন ত্ৰুটী: অপৰিচিত বিৰামচিহ্ন কেৰেক্টাৰ "["|500/1.6|0 | year={{{year}}}}}) |
{{NPRConvert|0.05|lk=on}} |
5 paise ({{INRConvert/এক্সপ্ৰেছন ত্ৰুটী: অপৰিচিত বিৰামচিহ্ন কেৰেক্টাৰ "["|0.05/1.6|0 | year={{{year}}}}}) |
{{NPRConvert|0.01}} |
0.01/1.6|0 | year={{{year}}}}}) |
{{NPRConvert|0.86}} |
0.86/1.6|0 | year={{{year}}}}}) |
{{NPRConvert|30|m}} |
रू30 million ({{INRConvert/এক্সপ্ৰেছন ত্ৰুটী: অপৰিচিত বিৰামচিহ্ন কেৰেক্টাৰ "["|30/1.6|6 | year={{{year}}}}}) |
{{NPRConvert|0.72|m}} |
रू0.72 million ({{INRConvert/এক্সপ্ৰেছন ত্ৰুটী: অপৰিচিত বিৰামচিহ্ন কেৰেক্টাৰ "["|0.72/1.6|6 | year={{{year}}}}}) |
{{NPRConvert|36|b}} |
रू36 billion ({{INRConvert/এক্সপ্ৰেছন ত্ৰুটী: অপৰিচিত বিৰামচিহ্ন কেৰেক্টাৰ "["|36/1.6|9 | year={{{year}}}}}) |
{{NPRConvert|36|b|-2}} |
रू36 billion ({{INRConvert/এক্সপ্ৰেছন ত্ৰুটী: অপৰিচিত বিৰামচিহ্ন কেৰেক্টাৰ "["|36/1.6|9|-2|USD|year={{{year}}}}}) | |
{{NPRConvert|80|b|lk=b}} |
रू80 billion ({{INRConvert/এক্সপ্ৰেছন ত্ৰুটী: অপৰিচিত বিৰামচিহ্ন কেৰেক্টাৰ "["|80/1.6|9 | year={{{year}}}}}) |
{{NPRConvert|32|t|lk=r}} |
रू32 trillion ({{INRConvert/এক্সপ্ৰেছন ত্ৰুটী: অপৰিচিত বিৰামচিহ্ন কেৰেক্টাৰ "["|32/1.6|12 | year={{{year}}}}}) |
{{NPRConvert|400|c|lk=on}} |
रू400 crore ({{INRConvert/এক্সপ্ৰেছন ত্ৰুটী: অপৰিচিত বিৰামচিহ্ন কেৰেক্টাৰ "["|400/1.6|7 | year={{{year}}}}}) |
{{NPRConvert|400|c|0}} |
रू400 crore ({{INRConvert/এক্সপ্ৰেছন ত্ৰুটী: অপৰিচিত বিৰামচিহ্ন কেৰেক্টাৰ "["|400/1.6|7|0|USD|year={{{year}}}}}) | |
{{NPRConvert|19|k}} |
रू19,000 ({{INRConvert/এক্সপ্ৰেছন ত্ৰুটী: অপৰিচিত বিৰামচিহ্ন কেৰেক্টাৰ "["|19/1.6|3 | year={{{year}}}}}) |
{{NPRConvert|53|m|0}} |
रू53 million ({{INRConvert/এক্সপ্ৰেছন ত্ৰুটী: অপৰিচিত বিৰামচিহ্ন কেৰেক্টাৰ "["|53/1.6|6|0|USD|year={{{year}}}}}) | |
{{NPRConvert|123|k|year=1990}} |
रू1,23,000 ({{INRConvert/এক্সপ্ৰেছন ত্ৰুটী: অপৰিচিত বিৰামচিহ্ন কেৰেক্টাৰ "["|123/1.6|3 | year=1990}}) |
{{NPRConvert|319|to=GBP}} |
रू319 ({{INRConvert/এক্সপ্ৰেছন ত্ৰুটী: অপৰিচিত বিৰামচিহ্ন কেৰেক্টাৰ "["|319/1.6|0 | year={{{year}}}}}) |
{{NPRConvert|753|m|year=2000|to=USD EUR}} |
रू753 million ({{INRConvert/এক্সপ্ৰেছন ত্ৰুটী: অপৰিচিত বিৰামচিহ্ন কেৰেক্টাৰ "["|753/1.6|6 | year=2000}}) |
{{NPRConvert|324|c|year=2000|to=EUR|mode=historical}} |
रू324 crore (সাঁচ:INRConvert/HistoricalRate/Formatted) | |
{{NPRConvert|240|c|year=2001}} |
रू240 crore ({{INRConvert/এক্সপ্ৰেছন ত্ৰুটী: অপৰিচিত বিৰামচিহ্ন কেৰেক্টাৰ "["|240/1.6|7 | year=2001}}) |
{{NPRConvert|240|c|0|year=2001}} |
रू240 crore ({{INRConvert/এক্সপ্ৰেছন ত্ৰুটী: অপৰিচিত বিৰামচিহ্ন কেৰেক্টাৰ "["|240/1.6|7|0|USD|year=2001}}) | |
{{NPRConvert|240|c|lk=on|year=2001}} |
रू240 crore ({{INRConvert/এক্সপ্ৰেছন ত্ৰুটী: অপৰিচিত বিৰামচিহ্ন কেৰেক্টাৰ "["|240/1.6|7 | year=2001}}) |
{{NPRConvert|240|c|0|lk=on|year=2001}} |
रू240 crore ({{INRConvert/এক্সপ্ৰেছন ত্ৰুটী: অপৰিচিত বিৰামচিহ্ন কেৰেক্টাৰ "["|240/1.6|7|0|USD|year=2001}}) | |
{{NPRConvert|240|c|year=2001|0}} |
रू240 crore ({{INRConvert/এক্সপ্ৰেছন ত্ৰুটী: অপৰিচিত বিৰামচিহ্ন কেৰেক্টাৰ "["|240/1.6|7|0|USD|year=2001}}) | |
{{NPRConvert|240|year=2001|c}} |
रू240 crore ({{INRConvert/এক্সপ্ৰেছন ত্ৰুটী: অপৰিচিত বিৰামচিহ্ন কেৰেক্টাৰ "["|240/1.6|7 | year=2001}}) |
{{NPRConvert|240|year=2001|c|0}} |
रू240 crore ({{INRConvert/এক্সপ্ৰেছন ত্ৰুটী: অপৰিচিত বিৰামচিহ্ন কেৰেক্টাৰ "["|240/1.6|7|0|USD|year=2001}}) |
Precautions
[সম্পাদনা কৰক]Using the |year= causes the calling page's Highest expansion depth to be very high, typically at least 33. The limit is 40. Take particular care using |year= when calling this template from within other templates, as this will further increase the template expansion depth of Wikipedia pages that call templates that call this one.
Summary
[সম্পাদনা কৰক]Template calculates a value of Nepalese Rupees, which you can enter, to another currency and then presents the results.
| পেৰামিটাৰ | বিৱৰণ | প্ৰকাৰ | স্থিতি | |
|---|---|---|---|---|
| Rupee value | 1 | The value, in Nepalese Rupees, that needs to be converted. The template will not accept pre-formatted values (i.e. 1,234).
| অজ্ঞাত | প্ৰয়োজনীয় |
| Currency formatting | 2 | Use this to represent larger numbers such as crores, billions et al.
| অজ্ঞাত | প্ৰস্তাৱিত |
| Linking | lk | Gives option to whether link currency (Rupees, Paisa) and/or number names (crores, lakhs)
| অজ্ঞাত | প্ৰস্তাৱিত |
| Year | year | This parameter allows for inflation. Historic rupee values will be inflated to current values then converted.
| অজ্ঞাত | প্ৰস্তাৱিত |
| To | to | This parameter allows for conversion to various different currencies (and some combinations). The US (default), Canadian, NZ and Australian dollars, the euro, the UK pound and the Bangladeshi taka are supported.
| অজ্ঞাত | ঐচ্ছিক |
| Rounding digits | 3 | Used to round significant digits. Negative values (-2, -3) can be used to round values to the nearest hundred or thousand, etc. A value of "0" will drop Paisa or cent values from the converted number. By default the conversion will be rounded to two significant figures.
| অজ্ঞাত | ঐচ্ছিক |
| Mode | mode | This parameter allows for the control of the output mode. Currently, blank (default) and historical are supported. In historical mode, conversions are performed using a historical exchange rate, for the year supplied. Years between 1970 and 2018 are supported, for XDR, USD (default), GBP, JPY, DEM (until 1998) and EUR (from 1999).
| অজ্ঞাত | ঐচ্ছিক |
References
[সম্পাদনা কৰক]- ↑ "Nepal to Keep Currency Pegged to Indian Rupee". TheHinduBusinessLine.com. 2018-01-11. http://www.thehindubusinessline.com/money-and-banking/nepal-to-keep-currency-pegged-at-to-indian-rupee/article9689230.ece। আহৰণ কৰা হৈছে: 2019-05-13.
| The above documentation is transcluded from সাঁচ:NPRConvert/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |