الگو:Scinote

از ویکی‌پدیا، دانشنامهٔ آزاد
توضیحات الگو[نمایش] [ویرایش] [تاریخچه] [پاکسازی]

Usage[ویرایش]

This template converts a decimal expression into scientific notation.

e.g. {{scinote|12345}} gives "۱٫۲۳۴۵×۱۰^۴"

To round to a given number of significant figures, specify this number as the second unnamed parameter.

e.g. {{scinote|12345|3}} gives "1.23×۱۰^۴"

For engineering notation set fn=eng.

e.g. {{scinote|12345|fn=eng}} gives "۱۲٫۳۴۵×۱۰^۳"

Trailing zeros are preserved.

e.g. {{scinote|0.001234500}} gives "۱٫۲۳۴۵۰۰×۱۰^−۳"

See also[ویرایش]

  • {{e}}