Шаблон:Significant figures: различия между версиями
Перейти к навигации
Перейти к поиску
en>Patrick (Examples) |
en>Patrick (more examples) |
||
| Строка 8: | Строка 8: | ||
*{{xpdop3p3c|d=|sigfig|123.456|||5}} | *{{xpdop3p3c|d=|sigfig|123.456|||5}} | ||
*{{xpdop3p3c|d=|sigfig|123.456|||4}} | *{{xpdop3p3c|d=|sigfig|123.456|||4}} | ||
*{{xpdop3p3c|d=|sigfig| | |||
*{{xpdop3p3c|d=|sigfig|123456|||3}} | |||
*{{xpdop3p3c|d=|sigfig|12345.6|||3}} | |||
*{{xpdop3p3c|d=|sigfig|1234.56|||3}} | |||
*{{xpdop3p3c|d=|sigfig|12.3456|||3}} | |||
*{{xpdop3p3c|d=|sigfig|1.23456|||3}} | |||
*{{xpdop3p3c|d=|sigfig|.123456|||3}} | |||
*{{xpdop3p3c|d=|sigfig|.0123456|||3}} | |||
*{{xpdop3p3c|d=|sigfig|.00123456|||3}} | |||
*{{xpdop3p3c|d=|sigfig|123.456|||2}} | *{{xpdop3p3c|d=|sigfig|123.456|||2}} | ||
*{{xpdop3p3c|d=|sigfig|123.456|||1}} | *{{xpdop3p3c|d=|sigfig|123.456|||1}} | ||
Версия 01:30, 29 августа 2010
This template has two different functions dependent on input.
- If only one parameter is given the template counts the number of significant figures of the given number within the ranges 1012 to 10-12 and -10-12 to -1012. It ignores any digits outside of this range.
- If two parameters are given the template rounds the first number to the number of significant figures given by the second.
Examples:
- Шаблон:Xpdop3p3c
- Шаблон:Xpdop3p3c
- Шаблон:Xpdop3p3c
- Шаблон:Xpdop3p3c
- Шаблон:Xpdop3p3c
- Шаблон:Xpdop3p3c
- Шаблон:Xpdop3p3c
- Шаблон:Xpdop3p3c