सामग्री पर जाएँ

आकृति:Significant figures/doc

मैथिली विकिपिडियासँ, एक मुक्त विश्वकोश

This template has two different functions dependent on input.

  1. 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 this range.
  2. If two parameters are given the template rounds the first number to the number of significant figures given by the second.
  • {{significant figures|123.456|7}} gives १२३.४५६0 [१]
  • {{significant figures|123.456|6}} gives १२३.४५६ [२]
  • {{significant figures|123.456|5}} gives १२३.४६ [३]
  • {{significant figures|123.456|4}} gives १२३.५ [४]

  • {{significant figures|123,456|3}} gives १,२३,००० [५]
  • {{significant figures|12345.6|3}} gives १२,३०० [६]
  • {{significant figures|1234.56|3}} gives १,२३० [७]
  • {{significant figures|12.3456|3}} gives १२.३ [८]
  • {{significant figures|1.23456|3}} gives १.२३ [९]

  • {{significant figures|.123456|3}} gives ०.१२३ [१०]
  • {{significant figures|.0123456|3}} gives ०.०१२३ [११]
  • {{significant figures|.00123456|3}} gives ०.००१२३ [१२]
  • {{significant figures|0.123456|3}} gives ०.१२३ [१३]
  • {{significant figures|0.0123456|3}} gives ०.०१२३ [१४]
  • {{significant figures|0.00123456|3}} gives ०.००१२३ [१५]

  • {{significant figures|123.456|2}} gives १२० [१६]
  • {{significant figures|123.456|1}} gives १०० [१७]
  • {{significant figures|123.456|0}} gives ० [१८]

  • {{significant figures|987654321|9}} gives ९८,७६,५४,३२१ [१९]
  • {{significant figures|987654321|8}} gives ९८,७६,५४,३२० [२०]
  • {{significant figures|987654321|7}} gives ९८,७६,५४,३०० [२१]
  • {{significant figures|987654321|6}} gives ९८,७६,५४,००० [२२]
  • {{significant figures|987654321|5}} gives ९८,७६,५०,००० [२३]
  • {{significant figures|987654321|4}} gives ९८,७७,००,००० [२४]
  • {{significant figures|987654321|3}} gives ९८,८०,००,००० [२५]
  • {{significant figures|987654321|2}} gives ९९,००,००,००० [२६]
  • {{significant figures|987654321|1}} gives १,००,००,००,००० [२७]