Last modified on 8 January 2012, at 23:54

Template:Precision1

Dialog-warning-orange.svg Note: This template is used on a lot of pages. In order not to put too much load on the servers, edits should be kept to a bare minimum. Please discuss proposed changes on the talk page first.
  • Editing a template causes all pages that use the template to be re-rendered. If the template is used often, this can put a lot of load on the servers since it fills up the job queue.
  • Keep in mind that templates that are used on file description pages also show up on other wikis.
  • This template has been protected from editing to prevent vandalism. Only administrators can edit this template. Get their attention by placing {{edit protected}} at the talk page.

Aragonés | Asturianu | Azərbaycanca | Boarisch | Беларуская (тарашкевіца)‎ | Български | Čeština | Deutsch | Deutsch (Sie-Form)‎ | English | Español | Eesti | فارسی | Suomi | Français | Galego | Magyar | Հայերեն | Italiano | 日本語 | 한국어 | Lëtzebuergesch | Македонски | മലയാളം | Bahasa Melayu | مازِرونی | Nederlands | Norsk nynorsk | Polski | Português | Română | Русский | Slovenščina | Српски / srpski | Svenska | Türkçe | Українська | Tiếng Việt | 中文(简体)‎ | 中文(繁體)‎ | +/−

Documentation icon Documentation[view] [edit] [history] [purge]

This documentation is transcluded from Template:Precision1/doc.


{{precision1}} is very similar to {{precision}}, but the output range is only 0 to 6. Thus the functinality of {{precision1}} is a subset of the functionality of {{precision}} but the advantage is that the template code is much shorter. It is useful when one has to be cautious of template limits.

Examples

{{Precision1|111.12345678}}

6

{{Precision1|111.1234567}}

6

{{Precision1|111.123456}}

6

{{Precision1|111.12345}}

5

{{Precision1|111.1234}}

4

{{Precision1|111.123}}

3

{{Precision1|111.12}}

2

{{Precision1|111.1}}

1

{{Precision1|111}}

0

{{Precision1|110}}

0

{{Precision1|100}}

0

{{Precision1|111.10}}

2

{{Precision1|111.100}}

3

{{Precision1|111.1000}}

4