خانه
تصادفی
ورود
تنظیمات
دربارهٔ ویکیهزاره
تکذیبنامهها
ویکیهزاره
جستجو
در حال ویرایش
الگو:Order of magnitude/توضیحات
هشدار:
شما وارد نشدهاید. نشانی آیپی شما برای عموم قابل مشاهده خواهد بود اگر هر تغییری ایجاد کنید. اگر
وارد شوید
یا
یک حساب کاربری بسازید
، ویرایشهایتان به نام کاربریتان نسبت داده خواهد شد، همراه با مزایای دیگر.
بررسی ضدهرزنگاری. این قسمت را پر
نکنید
!
{{Documentation subpage}} ===Usage=== This template calculates the (decimal) [[order of magnitude]] of numbers within the ranges 10<sup>300</sup> to 10<sup>−300</sup> and −10<sup>−300</sup> to −10<sup>300</sup>. The acceptable input and the output produced are optimised for use in other templates. *The hyphen (not a true minus sign) is used for negative numbers. *No separator is used for thousands. *The template gives 0 for 0. Although, strictly speaking, this is mathematically incorrect it has been designed this way so as to be more useful in other templates. An important example of this is that when used by {{tl|convert}} 0 °C or 0 °F is considered to be on the same order of magnitude as ±1 °C or ±1 °F respectively. ===Examples=== *{{Xpdop3c|d=|Order of magnitude|123400}} *{{Xpdop3c|d=|Order of magnitude|12340}} *{{Xpdop3c|d=|Order of magnitude|1234}} *{{Xpdop3c|d=|Order of magnitude|123.4}} *{{Xpdop3c|d=|Order of magnitude|12.34}} *{{Xpdop3c|d=|Order of magnitude|1.234}} *{{Xpdop3c|d=|Order of magnitude|.1234}} *{{Xpdop3c|d=|Order of magnitude|.01234}} *{{Xpdop3c|d=|Order of magnitude|0}} *{{Xpdoc|d=|Order of magnitude}} ===Incorrect usage=== The input must be an unformatted number, or the template will emit errors: *<code><nowiki>{{Order of magnitude|}}</nowiki></code> → <strong class="error">Expression error: Unexpected = operator</strong> *<code><nowiki>{{Order of magnitude|123,400}}</nowiki></code> → <strong class="error">Expression error: Unrecognised punctuation character ","</strong> *<code><nowiki>{{Order of magnitude|foo}}</nowiki></code> → <strong class="error">Expression error: Unrecognised word "foo"</strong> ===Technical points=== This template calculates the order of magnitude of a number, using the [[لگاریتم طبیعی]] of the absolute value of the number, divided by the log of 10. The amount is adjusted for [[truncation error]] in the digital format, and the floor number of the results is used. The magnitude of fractions, such as 0+1/1000 (-3), will also be calculated. The code uses four expansion-depth levels. <includeonly> [[رده:الگو:توابع ریاضی|Order of magnitude]] </includeonly>
خلاصه:
لطفاً توجه داشته باشید که همهٔ مشارکتها در ویکیهزاره ممکن است توسط دیگر مشارکتکنندگان تغییر یابند، ویرایش یا حذف شوند. اگر نمیخواهید نوشتههایتان بیرحمانه ویرایش شوند؛ بنابراین، آنها را اینجا ارائه نکنید.
شما همچنین به ما تعهد میکنید که خودتان این را نوشتهاید یا آن را از یک منبع با مالکیت عمومی یا مشابه آزاد آن برداشتهاید (
ویکیهزاره:حق تکثیر
را برای جزئیات بیشتر ببینید).
کارهای دارای حق تکثیر را بدون اجازه ارائه نکنید!
لغو
راهنمای ویرایش
(در پنجرهٔ تازه باز میشود)
صفحههای گنحاندهشده در این صفحه:
الگو:Documentation subpage
(
ویرایش
)
الگو:Mbox
(
ویرایش
)
الگو:Tl
(
ویرایش
)
الگو:Xpdoc
(
ویرایش
)
الگو:Xpdop3c
(
ویرایش
)
الگو:الگو
(
ویرایش
)
الگو:زیرصفحه توضیحات
(
ویرایش
)
پودمان:Arguments
(
ویرایش
)
پودمان:Message box
(
ویرایش
)
پودمان:Message box/configuration
(
ویرایش
)
پودمان:Message box/ombox.css
(
ویرایش
)
پودمان:Yesno
(
ویرایش
)