आकृति:Decimals
This template uses Lua: |
This template is used on approximately ३,१०० pages, so changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Please consider discussing changes on the talk page before implementing them. |
Usage
सम्पादन करी{{Decimals|number|decimals}}
Note that results are limited to 15 significant figures.
Examples
सम्पादन करी{{Decimals|1234|-2}}
→ 1200{{Decimals|1234|0}}
→ 1234{{Decimals|1234|1}}
→ 1234.0{{Decimals|1234|2}}
→ 1234.00{{Decimals|9/8|5}}
→ 1.12500{{Decimals|0.0000067890123456789012345|20}}
→ 0.00000678901234567890{{Decimals|0.67890123456789012345|20}}
→ 0.678901234567890{{Decimals|67890.123456789012345|20}}
→ 67890.1234567890{{Decimals|67890123456789012345|20}}
→ 6.7890123456789e+19{{Decimals|1/33|7}}
→ 0.0303030{{Decimals|0.006|1}}
→ 0.0
See also
सम्पादन करी- {{sigfig}}
- {{Fractions and ratios}}
- {{rnd}}
The above documentation is transcluded from आकृति:Decimals/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |