ढाँचा:Order of magnitude

स्वतन्त्र विश्वकोश, नेपाली विकिपिडियाबाट
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

Usage[सम्पादन गर्ने]

This template calculates the (decimal) order of magnitude of numbers within the ranges 10300 to 10−300 and −10−300 to −10300.

The template currently gives 0 for 0. Do not rely on this, however, because this mathematically incorrect result is under review (see talk).

Examples[सम्पादन गर्ने]

  • {{Order of magnitude|123400}} gives 5 [१]
  • {{Order of magnitude|12340}} gives 4 [२]
  • {{Order of magnitude|1234}} gives 3 [३]
  • {{Order of magnitude|123.4}} gives 2 [४]
  • {{Order of magnitude|12.34}} gives 1 [५]
  • {{Order of magnitude|1.234}} gives 0 [६]
  • {{Order of magnitude|.1234}} gives -1 [७]
  • {{Order of magnitude|.01234}} gives -2 [८]
  • {{Order of magnitude|0}} gives 0 [९]
  • {{Order of magnitude|}} gives एक्स्प्रेशन त्रुटि: अनपेक्षित = अपरेटर। [१०]
  • {{Order of magnitude}} gives 0 [११]