Jump to content

साचा:Convert/doc

विकिपीडिया, मुक्‍त ज्ञानकोशातून


Template {{convert}} calculates measurements from one unit (you can enter) to another one, and then presents the results. For example:

{{convert|2|km|mi}} → २ किलोमीटर (१.२ मैल)
{{convert|7|mi|km}} → ७ मैल (११ किमी)

The available units are listed below. Units are case-sensitive always (kW, not KW and not kw). Multiple formatting and calculation options are listed below.

Unit name or symbol (abbreviation): 1 pound or 1 lb?

[संपादन]

By default, the first value shows unit name spelled out, the second the symbol (or abbreviation). Use |abbr=on/off to change this behaviour:

  • {{convert|1|lb|kg}} → १ पौंड (०.४५ किलो)

To abbreviate both:

  • {{convert|1|lb|kg|abbr=on}} → १ पौंड (०.४५ किलो)
  • {{convert|1|lb|kg|abbr=off}} → १ पौंड (०.४५ किलोग्रॅम)

|abbr=in is the reverse behaviour to the default, |abbr=out:

  • {{convert|1|lb|kg|abbr=in}} → १ पौंड (०.४५ किलोग्रॅम)

Convenience: {{cvt}} has |abbr=on by default

[संपादन]

Template {{cvt}} is similar to {{convert}}, but has |abbr=on as the default behaviour. In {{cvt}}, all other options are available. So:

{{cvt|1|lb|kg}}साचा:Cvt

is equal to:

{{convert|1|lb|kg|abbr=on}}साचा:Cvt

Adjective: a 10-mile distance

[संपादन]

Use |adj=on to produce the adjective form:

  • A {{convert|10|mi|km|adj=on}} distance → A १०-मैल (१६ किमी) distance.

Default behaviour, for comparison:

  • {{convert|10|mi|km}} to go → १० मैल (१६ किमी) to go.

This option does not work with |abbr=on.

Rounding: 100 ft is 30 m or 30.5 m or 30.48 m?

[संपादन]

By definition, 100 ft equals ३०.४८ मी. In practical use, it is common to round the calculated metric number. With that, there are several possibilities.

Default rounding

[संपादन]

By {{Convert}} default, the conversion result will be rounded either to precision comparable to that of the input value (the number of digits after the decimal point—or the negative of the number of non-significant zeroes before the point—is increased by one if the conversion is a multiplication by a number between 0.02 and 0.2, remains the same if the factor is between 0.2 and 2, is decreased by 1 if it is between 2 and 20, and so on) or to two significant figures, whichever is more precise. An exception to this is rounding temperatures (see below).

Examples of rounding
Input Displays as Note
{{convert|123|ft|m|-1}} १२३ फूट (४० मी)
{{convert|123|ft|m|0}} १२३ फूट (३७ मी)
{{convert|123|ft|m|1}} १२३ फूट (३७.५ मी)
{{convert|550|ft|m|0}} ५५० फूट (१६८ मी) Approximate value is 167.64 m
{{convert|550|ft|m}} ५५० फूट (१७० मी) Rounds to 170, when approximate value is 167.64 m
{{convert|500|ft|m|0}} ५०० फूट (१५२ मी) Approximate value is 152.4 m
{{convert|500|ft|m}} ५०० फूट (१५० मी) Rounds to 150, when approximate value is 152.4 m

Convert supports four types of rounding:

Round to a given precision: use a precision number

[संपादन]

Specify the desired precision with the fourth unnamed parameter (or third unnamed parameter if the "convert to" parameter is omitted; or fifth unnamed parameter if a range is specified; or fourth unnamed parameter again if a range is specified and the "convert to" parameter is omitted; needs to be replaced with a "precision" named parameter). The conversion is rounded off to the nearest multiple of 110 to the power of this number. For instance, if the result is 8621 and the round number is "-2", the result will be 8600. If the result is "234.0283043" and the round number is "0", the result will be 234.

Round to a given number of significant figures: |sigfig=

[संपादन]

To specify the output number to be with n significant figures use |sigfig=<number>:

  • {{convert|1200|ft|m|sigfig=4}} → १,२०० फूट (३६५.८ मी)
  • {{convert|1200|ft|m|sigfig=3}} → १,२०० फूट (३६६ मी)
  • {{convert|1200|ft|m|sigfig=2}} → १,२०० फूट (३७० मी)
  • {{convert|1200|ft|m|sigfig=1}} → १,२०० फूट (४०० मी)

Default behaviour, for comparison:

  • {{convert|1200|ft|m}} → १,२०० फूट (३७० मी)

Setting |sigfig= is meaningless

Round to a multiple of 5: 15, 20, 25, ...

[संपादन]

Using |round=5 rounds the outcome to a multiple of 5.

  • {{convert|10|m|ft}} → १० मीटर (३३ फूट)
  • {{convert|10|m|ft|round=5}} → १० मीटर (३३ फूट)

Similar: using |round=25 rounds the outcome to a multiple of 25.

  • {{convert|10|m|ft}} → १० मीटर (३३ फूट)
  • {{convert|10|m|ft|round=25}} → १० मीटर (३३ फूट)

Default behaviour, for comparison:

  • {{convert|10|m|ft|sigfig=4}} → १० मीटर (३२.८१ फूट)

In a range, one can round each value individually to the default. Use |round=each:

Round to a multiple of a given fraction: 2+316 inch

[संपादन]

Specify the desired denominator using |frac=<some positive integer>. (Denominator is the below-the-slash number, for example the 3 in 13).

  • {{convert|5.56|cm|in|frac=16}} → ५.५६ सेंटीमीटर (२.१९ इंच)
  • {{convert|8|cm|in|frac=4}} → ८ सेंटीमीटर (३.१ इंच)

The fraction is reduced when possible:

  • {{convert|8|cm|in|frac=100}} → ८ सेंटीमीटर (३.१ इंच)

Default behaviour, for comparison:

  • {{convert|8|cm|in}} → ८ सेंटीमीटर (३.१५० इंच)

In temperatures: rounding °C, °F and K

[संपादन]

In temperatures, the conversion will be rounded either to precision comparable to that of the input value or to that which would give three significant figures when expressed in kelvins, whichever is more precise.

  1. {{convert|10,000|C|F K}} → १०,००० °से (१८,००० °फॅ; १०,३०० के)
  2. {{convert|10,000.1|C|F K}} → १०,०००.१ °से (१८,०३२.२ °फॅ; १०,२७३.२ के)
  3. {{convert|-272|C|F K}} → −२७२ °से (−४५७.६० °फॅ; १.१५ के)
  4. {{convert|-272|C}} → −२७२ °से (−४५७.६० °फॅ)
  5. {{convert|-300|C|F K}} → −३०० °से (−५०८.० °फॅ; −२६.९ के)
  6. {{convert|0|C|F K}} → ० °से (३२ °फॅ; २७३ के)

The precision of the input number in example (1) is one digit, but the precision of its Kelvins expression is three, so the precision of the Fahrenheit conversion is made three (made 180...) . (1) and (2) seem to belie the fact that a ०.१ degrees Celsius change is a ०.१८ degrees Fahrenheit change, and make the 32 degrees difference shown in (1) begin to seem off somehow. Result (1) seems off until you set the significant figures yourself with |sigfig=:

{{convert|10000|C|sigfig=5}} → १०,००० °से (१८,०३२ °फॅ)

or you set the precision positionally, relative to the decimal point (zero being at the decimal point):

{{convert|10000|C|0}} → १०,००० °से (१८,०३२ °फॅ)

The precision of the input number in example (2) is six, so the precision of the Fahrenheit output is, whereas before, Kelvins had determined it to be three. Examples (3) and (4) show how this can be hidden and generate questions, but it occurs there because the Kelvins conversion generated two fractional parts. (Before it was the input number that generated the fractional part.) In example (3) the three input digits converted into into five significant output digits because of the two numbers after the decimal point, generated by the Kelvins conversion. This happened again in (5), but in (6) decimal fractions were neither given as input nor induced by the Kelvins conversion.

Into multiple units: १० °से (५० °फॅ; २८३ के)

[संपादन]

Separate the multiple output units by a space:

  • {{convert|10|C|F K}} → १० °से (५० °फॅ; २८३ के)
  • {{convert|5|km|mi nmi}} → ५ किलोमीटर (३.१ मैल; २.७ nmi)

If the output unit names contain spaces, use + as the separator.

See also:

Ranges of values

[संपादन]

A range converts two values and separates them by your choice of words and punctuation.

A range: 6 to 17 kg (13 to 37 lb)

[संपादन]

Range indicators are entered as the second parameter (between the values). Range separators can be:
साचा:Convert/doc/range separator list

Multiple dimensions: ६ मी × १२ मी (२० फूट × ३९ फूट)

[संपादन]

Use by:

  • {{convert|6|by|12|ft|m}} → ६ by १२ फूट (१.८ by ३.७ मी)

Use ×, multiplication sign, or x, letter:

  • {{convert|6|x|12|m|ft}} → ६ by १२ मीटर (२० फूट × ३९ फूट)

In science, the formal way is to set |x| and |abbr=on (keeping dimensions right, like in area = x km2):

  • {{convert|6|x|12|m|ft|abbr=on}} → ६ मी × १२ मी (२० फूट × ३९ फूट)

About feet, inch in ranges and multiples

[संपादन]

While it is possible to enter feet, inch in a simple conversion, this is not possible for ranges:

Default behaviour, for comparison:

  • {{convert|1|ft|3|in|mm}} → १ फूट ३ इंच (३८० मिमी)

Spelling of unit name: UK metre or US meter?

[संपादन]

Default spelling of units is en-UK. To show en-US spelling, use |sp=us:

{{convert|1|m|ft}} → १ मीटर (३.३ फूट)—default
{{convert|1|m|ft|sp=us}} → १ मीटर (३.३ फूट)

Spell out numbers: ten miles

[संपादन]

To write a number in words, use |spell=in:

  • {{convert|10|mi|m|spell=in}} → १० मैल (१६,००० मी)

To spell out both in and out values, use |spell=on:

  • {{convert|10|mi|m|spell=on}} → १० मैल (१६,००० मी)

To make first letter a capital, use |spell=In, |spell=On

  • {{convert|10|mi|m|spell=In}} → १० मैल (१६,००० मी)
  • {{convert|10|mi|m|spell=On}} → १० मैल (१६,००० मी)

Remember that the spelling of the units (ft, m) is independently set by |abbr=. To the extreme:

  • {{convert|10|mi|m|spell=on|abbr=off|sp=us}} → १० मैल (१६,००० मीटर)

Inserted before units: 4 planted acres

[संपादन]
  • {{convert|4|acre||adj=pre|planted}} → ४ planted एकर (१.६ ha)

disp=preunit is similar, but has no separator after the specified text, and can have different text for the output value:

  • {{convert|4|acre||disp=preunit|planted }} → ४ planted एकर (१.६ planted ha)
  • {{convert|4|acre||disp=preunit|planted |reforested-}} → ४ planted एकर (१.६ reforested-ha)

After adjective unit: A १०-फूट-long corridor

[संपादन]
{{convert|10|ft|m|adj=mid|-long}} → १०-फूट-long (३.० मी)

Plurals: 1 inch, 2 inches

[संपादन]

The unit symbol is singular always. Depending on the preceding number only, a unit name can be shown plural.

Exception

Entering the unit spelled |foot| forces singular output "foot", whatever the number is.

  • {{convert|100|foot|abbr=off}} → १०० फूट (३० मीटर)

Using an SI prefix: gigameter (Gm), or micrometer (μm)

[संपादन]

साचा:Sidebar metric prefixes (small) Units can have an SI prefix like G before the unit: Gm, and giga before the name: gigameter. These are plain multiplication factors.

To illustrate, these are trivial calculations (from meter to meter), showing the multiplication factor:

  • १२ गिमी (१.२×१०१० मी)
  • १२ μमी (१.२×१०−५ मी)

The prefix can be added before the SI unit (here: unit m for meter):

  • {{convert|12|Gm|mi|abbr=on}} → १२ गिमी (७५,००,००० मैल)
  • Mm: १२ मेमी (७,५०० मैल)
  • km: १२ किमी (३९,००० फूट)
  • mm: १२ मिमी (०.४७ इंच)
  • μm: १२ μमी (०.०१२ मिमी)
  • um: १२ uमी (०.०१२ मिमी) (letter "u" can be used for "μ" here)

The prefix can be used in the output unit:

  • {{convert|12000|mi|Mm|abbr=on}} → १२,००० मैल (१९ मेमी)
  • {{convert|12|in|μm|abbr=on}} → १२ इंच (३,००,००० μमी)

As an exception, the non-SI unit "inch" can have the "μ" prefix too)

  • {{convert|12|μm|μin|abbr=on}} → १२ μमी (४७० µin)

Engineering notation: 7 × 106 m

[संपादन]

In the unit: e6m

[संपादन]

Engineering number notations like 7E6 (for 7 × 106) can be entered as a "prefix" to the unit:

  • {{convert|7|e6m}} → ७ दशलक्ष मीटर (२,३०,००,००० फूट)

The same is possible for the output unit:

  • {{convert|23,000,000|ft|e6m}} → २,३०,००,००० फूट (७.०×१०^ मी)

Any standard unit (not a combination, multiple, or built-in unit) can have such a prefix:

  • e3 (thousand),
  • e6 (million),
  • e9 (billion),
  • e12 (trillion),
  • e15 (quadrillion).

Scientific notation: 1.23×10−14

[संपादन]

In scientific notation, a number is written like १.२३×१०−१४. The plain number has exactly one digit before the decimal point.

With {{convert}}, the input can be in e-notation such as 12.3e4. This value is displayed as a power of ten, and the output is displayed in scientific notation, except that an output value satisfying 0.01 <= v < 1000 is shown as a normal number. In addition, if the output value is 1000 and sigfig=4 is used, the value is displayed as a normal number.

  • {{convert|12.3e-15|atm|atm|abbr=on}} → १२.३e-१५ atm (१.२३×१०−१४ atm)
  • {{convert|0.00000005|atm|atm|abbr=on}} → ०.०००००००५ atm (५.०×१०−८ atm)

Input with fractions: इंच (३८.१ मिमी)

[संपादन]

The number to convert can be written in fractions. Both / (keyboard slash) and (fraction slash) are accepted:

  • {{convert|1/2|in|mm|1}} इंच (१२.७ मिमी)
  • {{convert|1⁄2|in|mm|1}}रुपांतरण त्रूटी: मूल्य "1⁄2" अंकातच आवश्यक आहे

With integers, use a + sign

When negative, use a hyphen - and repeat it:

Output with horizontal fraction bar in: Page साचा:Sfrac/styles.css has no content.1/2 inch

[संपादन]

Using a double slash (//) returns a horizontal bar fraction:

  • {{convert|1//2|in|mm|1}}/ इंच (१२.७ मिमी)
  • {{convert|2+1//2|in|mm|1}} / इंच (६३.५ मिमी)

Thousands separator: 1,000 mi or 1000 mi

[संपादन]

In input, a comma for thousands separator is accepted but not required; a gap (space) is not accepted. In output, by default, the thousand separator is the comma:

  • {{convert|1234567|m|ft}} → १२,३४,५६७ मीटर (४०,५०,४१७ फूट)
  • {{convert|1,234,567|m|ft}} → १२,३४,५६७ मीटर (४०,५०,४१७ फूट)
  • {{convert|1 234 567|m|ft}}रुपांतरण त्रूटी: मूल्य "1 234 567" अंकातच आवश्यक आहे Red XN

Set |comma=off to remove the separator from the output:

  • {{convert|1234567|m|ft|comma=off}} → १२,३४,५६७ मीटर (४०,५०,४१७ फूट)

Use |comma=gaps to use digit grouping by gap (thin space) as a thousands separator:

  • {{convert|1234567|m|ft|comma=gaps}}१२३४५६७ मीटर (४०५०४१७ फूट)

Default behaviour, for comparison:

  • {{convert|1234567|m|ft}} → १२,३४,५६७ मीटर (४०,५०,४१७ फूट)

Setting |comma=5 or |comma=gaps5 will only add the separator when the number of digits is 5 or more:

  • {{convert|1234|m|ft|comma=5}} → १२३४ मीटर (४०४९ फूट)
  • {{convert|1234567|m|ft|comma=5}} → १२,३४,५६७ मीटर (४०,५०,४१७ फूट)
  • {{convert|1234|m|ft|comma=gaps5}} → १२३४ मीटर (४०४९ फूट)
  • {{convert|1234567|m|ft|comma=gaps5}}१२३४५६७ मीटर (४०५०४१७ फूट)

Default behaviour, for comparison:

  • {{convert|1234|m|ft}} → १,२३४ मीटर (४,०४९ फूट)

Output manipulation

[संपादन]

Brackets and separators: 10 m [33 ft]

[संपादन]

Punctuation that distinguishes the two measurements is set by |disp=.
Options are: b (the default), sqbr, comma, or, br, x|…:

  • {{convert|10|m|ft|disp=sqbr}} → १० मीटर [३३ फूट]
  • {{convert|10|m|ft|disp=comma}} → १० मीटर, ३३ फूट
  • {{convert|10|m|ft|disp=or}} → १० मीटर or ३३ फूट

Default behaviour, for comparison:

  • {{convert|10|m|ft}} → १० मीटर (३३ फूट)

Setting |disp=br will force a new line (<br/>)

  • {{convert|10|m|ft|disp=br}} → १० मीटर
    ३३ फूट

Also |disp=br() will force a new line, and keep the brackets:

  • {{convert|10|m|ft|disp=br()}} → १० मीटर (३३ फूट)

Setting |disp=x|… allows any text as separator:

  • {{convert|10|m|ft|disp=x|_MyText_}} → १० मीटर_MyText_३३ फूट—(To display spaces, use &nbsp;)

Flipping (reordering) the two measurements: १,६०९.३ मीटर (१ मैल)

[संपादन]

Setting |order=flip will flip (swap) the two measurements:

  • {{convert|1|mi|m|order=flip}} → १,६०९.३ मीटर (१ मैल)

Default behaviour, for comparison:

  • {{convert|1|mi|m}} → १ मैल (१,६०९.३ मीटर)

When converting to multiple units, the effect is:

  • {{convert|10|km|mi nmi|order=flip}} → ६.२१३७ मैल; ५.३९९६ nautical mile (१० किलोमीटर)
  • {{convert|10|km|nmi mi|order=flip}} → ५.३९९६ nautical mile; ६.२१३७ मैल (१० किलोमीटर)

Displaying parts of the result: २ (१.५)

[संपादन]

It is possible to display only parts of the conversion result:

रुपांतर करा बहीर्दाय(आउटपुट) वर्णन
{{convert|2|cuyd|m3}} २ cubic yard (१.५ मी) अविचल वर्तन, ताडण्यासाठी
{{convert|2|cuyd|m3|abbr=values}} २ (१.५) अंतर्दाय व बहीर्दाय आकडे
{{convert|2|cuyd|m3|disp=unit}} cubic yard अंतर्दाय एकक
{{convert|2|cuyd|m3|disp=unit|adj=on}} cubic-yard अंतर्दाय एकक, adjective (hyphenated)
{{convert|2|cuyd|cuyd|0|disp=out|abbr=off}} २ cubic yard अंतर्दाय (workaround)
{{convert|2|cuyd|m3|abbr=~}} २ cubic yard (cu yd, १.५ मी) Input: both name and symbol
{{convert|2|cuyd|m3|disp=unit2}} मी बहीर्दाय एकक (symbol)
{{convert|2|cuyd|m3|disp=unit2|abbr=off}} घन मीटर बहीर्दाय unit (name)
{{convert|2|cuyd|m3|disp=number}} १.५ बहीर्दाय किंमत
{{convert|2|cuyd|m3|disp=out}} १.५ मी बहीर्दाय किंमत व एकक
{{convert|2|cuyd|m3|disp=out|abbr=off}} १.५ घन मीटर बहीर्दाय किंमत व एकक

Display both input name and symbol: 2 kilopascals [kPa]

[संपादन]

Setting |abbr=~ returns both name and symbol of the first (input) unit:

  • {{convert|2|kPa|psi|abbr=~}} → २ किलोpascal (किPa, ०.२९ psi)
  • A {{convert|2|kPa|psi|abbr=~|adj=on}} pressureA २-किलोpascal (किPa, ०.२९ psi) pressure

Table options

[संपादन]

For the wikitable structure, there are three options: add a line-break, split the result over columns and make the table sortable.

Enforced line break

[संपादन]

|disp=br adds a line-break and omits brackets.

|disp=br() adds a line-break and does add brackets to the converted value. This may be useful in tables:

|disp=br |disp=br()
१०० किलोमीटर
६२ मैल
१०० किलोमीटर (६२ मैल)

Table columns showing numbers only

[संपादन]

Using {convert} in a table cell, with |disp=table splits the result over two columns:

{{convert|10|m|ft|disp=table}} → align="right"|१०

|align="right"|३३

|disp=tablecen does the same, and also centers the text:

{{convert|20|m|ft|disp=tablecen}} → align="center"|२०

|align="center"|६६

The units are added as a column header:

  m ft
|disp=table १० ३३
|disp=tablecen २० ६६
|disp=<other> (default) ३० मीटर (९८ फूट)

Use |sortable=on to include a hidden numerical sortkey in the output, suitable for use in a table with sortable columns. Technically, this places a hidden string before the actual displayed values:

{{convert|10|m|ft|sortable=on}}<span style="display:none">7001100000000000000</span>10 metres (33&nbsp;ft)

Use both |disp=table and |sortable=on together to produce table columns (pipe symbols) for each value in sortable columns:

m ft
A 7001157500000000000१५ ५२
B 7001155000000000000१५.५ ५१
C 7001160000000000000१६.० ५२.५
D 7001160000000000000१६ ५२

The generated sortkey is calculated in a consistent way based on both the value and its unit as passed to the convert template. In most cases convert uses the passed value converted to SI base units. It is therefore not necessarily the displayed value or other alternate units and is calculated regardless of output format options. Using different units or different order of units in individual rows should therefore not lead to incorrect sorting, although variations in rounding can give surprising results, since an unrounded number is used for the sortkey.

{{Convert}}द्रारे सहाय्यीकृत एककांची छोटी यादी
स्पष्टीकरण
पद्धत एकक कोड (इंग्रजी)
(पर्यायी)
लघुरूप नोंदी रुपांतरण एकत्रिकरण
कोणत्या पद्धतीतील हे एकक आहे नावानुसार एककांची यादी हा साचा वापरतांना टाकावयाचे कोड साच्याद्वारे दाखविण्यात येणारे लघुरूप एककांसाठीच्या सर्वसाधारण नोंदी ज्या एककास किंवा त्यांचा या साच्यातील वापरास लागु पडतील रुपांतरण गुणक जे , मुळ एस आय एककांपासून किंवा एककात रुपांतरण करण्यास साच्याद्वारे वापरल्या जातात अनेक रुपांतरणे करण्यास आवश्यक कोड


लांबी
(संपूर्ण यादी)
system unit unit-
code
abbrev-
iation
notes sample default
conversion
combination
output units
SI मेगामीटर Mm मेमी US spelling: megameter
१.० मेमी (३२,८०,८३९ फूट ११ इंच)
किलोमीटर km किमी US spelling: kilometer
१.० किमी (०.६२ मैल)
  • km mi
मीटर m मी US spelling: meter
१.० मी (३ फूट ३ इंच)
  • m ft
  • m ftin
सेंटीमीटर cm सेंमी US spelling: centimeter
१.० सेंमी (०.३९ इंच)
  • cm in
मिलीमीटर mm मिमी US spelling: millimeter
१.० मिमी (०.०३९ इंच)
  • mm in
मायक्रोमीटर µm (um) µमी US spelling: micrometer
१.० µमी (३.९×१०−५ इंच)
नॅनोमीटर nm नॅमी US spelling: nanometer
१.० नॅमी (३.९×१०−८ इंच)
non-SI metric ångström Å
(angstrom)
Å १.० Å (३.९×१०−९ इंच)
Imperial
&
US customary
मैल mi (none) १.० मैल (१.६ किमी)
  • mi km
furlong furlong (none) १.० furlong (६६० फूट; २०० मी)
chain chain (none) १.० chain (६६ फूट; २० मी)
rod rd rd For other names of this unit see the full list. १.० rd (१७ फूट; ५.० मी)
fathom fathom (none) fathom ≡ 6 ft १.० fathom (६.० फूट; १.८ मी)
यार्ड yd (none) assumes the international definition १.० यार्ड (०.९१ मी)
फूट ft (foot) (none) The foot code will produce foot as the plural form. १.० फूट (०.३० मी)
  • ftin (feet and inches)
  • ft m (foot m)
इंच in (none) १.० इंच (२५ मिमी)
  • in cm
  • in mm
Other nautical mile nmi nmi the international standard nautical mile
For other nautical miles see the full list.
१.० nmi (१.९ किमी; १.२ मैल)
parsec pc pc १.० pc (३.३ ly)
light-year ly ly १.० ly (६३,००० AU)
astronomical unit AU AU १.० AU (१५,००,००,००० किमी; ९,३०,००,००० मैल)


क्षेत्रफळ
(संपूर्ण यादी)
पद्धत एकक कोड(इं.)
(पर्यायी)
लघुरूप नोंदी रुपांतरण- मी२ एकत्रिकरण
एस आय चौरस किमी km2 चौ. किमी US spelling: square kilometer
१०,००,०००
  • km2 sqmi

साचा:Convert/m2

  • m2 sqft

साचा:Convert/cm2

  • cm2 sqin

साचा:Convert/mm2

  • mm2 sqin
गैर-एसआय
मेट्रिक

साचा:Convert/ha


शाही

युएस नेहमीची
चौरस मैल sqmi चौ. मैल २५,८९,९८८.११०३३६
  • sqmi km2

साचा:Convert/acre

square yard sqyd sq yd ०.८३६१२७३६

साचा:Convert/sqft

  • sqft m2 (sqfoot m2)

साचा:Convert/sqin

  • sqin cm2
इतर

साचा:Convert/sqnmi

साचा:Convert/dunam

VOLUME
(Full list)
system unit unit-
code
abbrev-
iation
notes conversion factor/m3 combinations
SI

साचा:Convert/m3 साचा:Convert/cm3 साचा:Convert/cc साचा:Convert/mm3

non-SI metric

साचा:Convert/kl साचा:Convert/kL साचा:Convert/l

  • l impgal
  • l USgal
  • l U.S.gal
  • l USdrygal
  • l U.S.drygal

साचा:Convert/L

  • L impgal
  • L USgal
  • L U.S.gal
  • L USdrygal
  • L U.S.drygal

साचा:Convert/cl साचा:Convert/cL

मिलीलीटर ml ml इंग्लिश: milliliter
one cubic centimetre
०.०००००१
  • ml impoz
  • ml USoz
  • ml U.S.oz

साचा:Convert/mL

  • mL impoz
  • mL USoz
  • mL U.S.oz
Imperial
&
US customary

साचा:Convert/cuyd साचा:Convert/cuft साचा:Convert/cuin

Imperial

साचा:Convert/impbbl साचा:Convert/impbsh साचा:Convert/impbu साचा:Convert/impgal

  • impgal l
  • impgal L
  • impgal USgal
  • impgal U.S.gal
  • impgal USdrygal
  • impgal U.S.drygal

साचा:Convert/impqt साचा:Convert/imppt साचा:Convert/impoz

  • impoz USoz
  • impoz U.S.oz
  • impoz ml
  • impoz mL
US customary
liquid measure

साचा:Convert/USbbl साचा:Convert/U.S.bbl साचा:Convert/oilbbl साचा:Convert/USbeerbbl साचा:Convert/U.S.beerbbl साचा:Convert/USgal

  • USgal l
  • USgal L
  • USgal impgal

साचा:Convert/U.S.gal

  • USgal l
  • USgal L
  • USgal impgal

साचा:Convert/USqt साचा:Convert/U.S.qt साचा:Convert/USpt साचा:Convert/U.S.pt साचा:Convert/USoz

  • USoz ml
  • USoz mL
  • USoz impoz

साचा:Convert/U.S.oz

  • U.S.oz ml
  • U.S.oz mL
  • U.S.oz impoz
US customary
dry measure

साचा:Convert/USdrybbl साचा:Convert/U.S.drybbl साचा:Convert/USbsh साचा:Convert/USbu साचा:Convert/U.S.bsh साचा:Convert/U.S.bu साचा:Convert/USdrygal

  • USdrygal l
  • USdrygal L
  • USdrygal impgal

साचा:Convert/U.S.drygal

  • U.S.drygal l
  • U.S.drygal L
  • U.S.drygal impgal

साचा:Convert/USdryqt साचा:Convert/U.S.dryqt साचा:Convert/USdrypt साचा:Convert/U.S.drypt


गती
(संपूर्ण यादी)
पद्धत एकक कोड (इंग्रजी)
(पर्याय)
लघुरूप नोंदी रुपांतरण अवयव/(मी/से) एकत्रिकरण
एस आय

साचा:Convert/m/s

  • m/s ft/s (m/s foot/s)
गैर-एस आय मेट्रिक

साचा:Convert/km/h

  • km/h mph
शाही
&
युएस नेहमीची

साचा:Convert/mph

  • mph km/h

साचा:Convert/ft/s

  • ft/s m/s
समुद्री एकके

साचा:Convert/kn


Force
(Full list)
system unit code
(alternative)
abbreviation notes conversion factor/N combinations
SI

साचा:Convert/GN

  • GN LT-f
  • GN LTf
  • GN L/T-f
  • GN L/Tf
  • GN ST-f
  • GN STf
  • GN S/T-f
  • GN S/Tf

साचा:Convert/MN

  • MN LT-f
  • MN LTf
  • MN L/T-f
  • MN L/Tf
  • MN ST-f
  • MN STf
  • MN S/T-f
  • MN S/Tf

साचा:Convert/kN

  • kN LT-f
  • kN LTf
  • kN L/T-f
  • kN L/Tf
  • kN ST-f
  • kN STf
  • kN S/T-f
  • kN S/Tf

साचा:Convert/N

  • N lb-f
  • N lbf
  • N oz-f
  • N ozf

साचा:Convert/mN

  • mN oz-f
  • mN ozf
  • mN gr-f
  • mN grf

साचा:Convert/μN

  • μN gr-f
  • μN grf

साचा:Convert/nN

  • nN gr-f
  • nN grf
cgs

साचा:Convert/Mdyn साचा:Convert/kdyn साचा:Convert/dyn साचा:Convert/mdyn

Metric gravitational units

साचा:Convert/t-f साचा:Convert/tf साचा:Convert/kg-f साचा:Convert/kgf साचा:Convert/g-f साचा:Convert/gf साचा:Convert/mg-f साचा:Convert/mgf

Avoirdupois-based units

साचा:Convert/pdl साचा:Convert/LT-f

  • LT-f ST-f

साचा:Convert/LTf

  • LTf STf

साचा:Convert/L/T-f

  • L/T-f S/T-f

साचा:Convert/L/Tf

  • L/Tf S/Tf

साचा:Convert/ST-f

  • ST-f LT-f

साचा:Convert/STf

  • STf LTf

साचा:Convert/S/T-f

  • S/T-f L/T-f

साचा:Convert/S/Tf

  • S/Tf L/Tf

साचा:Convert/lb-f साचा:Convert/lbf साचा:Convert/oz-f साचा:Convert/ozf साचा:Convert/gr-f साचा:Convert/grf


Energy
(Full list)
system unit code
(alternative)
abbreviation notes conversion factor/J combinations
SI

साचा:Convert/GJ साचा:Convert/MJ साचा:Convert/kJ साचा:Convert/hJ साचा:Convert/daJ साचा:Convert/J साचा:Convert/dJ साचा:Convert/cJ साचा:Convert/mJ साचा:Convert/μJ साचा:Convert/nJ

cgs

साचा:Convert/Merg साचा:Convert/kerg साचा:Convert/erg

Watt-hour multiples

साचा:Convert/TWh साचा:Convert/TW.h साचा:Convert/GWh साचा:Convert/GW.h साचा:Convert/MWh साचा:Convert/MW.h साचा:Convert/kWh साचा:Convert/kW.h साचा:Convert/Wh साचा:Convert/W.h

Electronvolt multiples

साचा:Convert/GeV साचा:Convert/MeV साचा:Convert/keV साचा:Convert/eV साचा:Convert/meV

Calorie multiples

साचा:Convert/Cal साचा:Convert/Mcal साचा:Convert/kcal साचा:Convert/cal साचा:Convert/mcal

pound/ounce-foot/
inch-hour-minute-second

साचा:Convert/ftpdl साचा:Convert/ftlbf साचा:Convert/ftlb-f साचा:Convert/inlbf साचा:Convert/inlb-f साचा:Convert/inozf साचा:Convert/inoz-f साचा:Convert/hph

British thermal unit

साचा:Convert/Btu साचा:Convert/BTU

TNT-based units

साचा:Convert/GtTNT साचा:Convert/GtonTNT साचा:Convert/MtTNT साचा:Convert/MtonTNT साचा:Convert/ktTNT साचा:Convert/ktonTNT साचा:Convert/tTNT साचा:Convert/tonTNT

Other

साचा:Convert/Eh साचा:Convert/Ry साचा:Convert/toe साचा:Convert/BOE साचा:Convert/cuftnaturalgas साचा:Convert/latm साचा:Convert/Latm साचा:Convert/impgalatm साचा:Convert/USgalatm साचा:Convert/U.S.galatm


तापमान
(वेगळे पान; संपूर्ण यादी)
पद्धत एकक कोड (इंग्रजीत)
(पर्यायी)
लघुरूप नोंदी रुपांतरण
केल्व्हिन मध्ये
एकत्रिकरण
एस आय kelvin के के Triple combinations are also possible. See the full list. [के]
  • K °C (K C)
  • K °R (K R)
  • K °F (K F)
degree Celsius °C (C) °C ([°C]+273.15)
  • °C K (C K)
  • °C °R (C R)
  • °C °F (C F)
शाही
&
युएस नेहमीची
degree Rankine °R (R) °R ([°R]/1.8)
  • °R K (R K)
  • °R °C (R C)
  • °R °F (R F)
degree Fahrenheit °F (F) °F (([°F]+459.67)/1.8)
  • °F K (F K)
  • °F °C (F C)
  • °F °R (F R)


Mass
(Full list)
system unit code
(alternative)
abbreviation notes conversion factor/kg combinations
SI किलोग्रॅम kg कि.ग्रॅ. Triple combinations are also possible. See the full list.
  • kg lb
  • kg st
ग्रॅ g ग्रॅ ०.००१
  • g oz

साचा:Convert/mg

  • mg gr

साचा:Convert/μg

non-SI metric

साचा:Convert/t

  • t LT
  • t ST

साचा:Convert/MT

  • MT LT
  • MT ST
Avoirdupois

साचा:Convert/LT

  • LT t
  • LT MT
  • LT ST

साचा:Convert/long ton साचा:Convert/ST

  • ST t
  • ST MT
  • ST LT

साचा:Convert/short ton साचा:Convert/st

  • st kg
  • st lb
पाउंड lb पाउंड Triple combinations are also possible. See the full list. ०.४५३५९२३७
  • lb kg
  • lb st
आउंस oz oz ०.०२८३४९५२३
  • oz g

साचा:Convert/drachm साचा:Convert/dram साचा:Convert/gr

Troy

साचा:Convert/ozt

other

साचा:Convert/carat


Pressure
unit code abbreviation conversion factor/Pa

साचा:Convert/MPaसाचा:Convert/kPaसाचा:Convert/hPaसाचा:Convert/Paसाचा:Convert/mPaसाचा:Convert/mbarसाचा:Convert/mbसाचा:Convert/dbarसाचा:Convert/barसाचा:Convert/kBaसाचा:Convert/Baसाचा:Convert/atmसाचा:Convert/Torrसाचा:Convert/mmHgसाचा:Convert/inHgसाचा:Convert/psi

Torque
unit code notes
newton metre N·m (N.m) Use N·m or N.m to get the mid-dot.
Nm
Torque conversions can go to and from the following units.
  • foot-poundal
  • foot-pound force
  • inch-pound force
  • inch-ounce force

Codes, abbreviations and conversion factors (but to N·m in this case) are the same as with the corresponding energy units as listed above.

Fuel efficiency
unit code
(alternative)
notes combinations
kilometres per litre km/l (km/L) Use km/L to get "km/L"
  • km/l mpgimp
  • km/l mpgus
litres per 100 kilometres l/100 km (L/100 km) Use L/100 km to get "L/100 km"
  • l/100 km mpgimp
  • l/100 km mpgus
litres per kilometre l/km (L/km) Use L/km to get "L/km"
  • l/km impgal/mi
  • l/km usgal/mi
miles per imperial gallon mpgimp
  • mpgimp mpgus
miles per US gallon mpgus (mpgUS, mpgU.S.) Use mpgUS to get "US"

Use mpgU.S. to get "U.S."
mpgus will give "U.S." if spelling is
set to US & "US" otherwise

  • mpgus mpgimp
imperial gallons per mile impgal/mi
  • impgal/mi
US gallons per mile usgal/mi (USgal/mi, U.S.gal/mi) As above with the us vs US vs U.S.
  • usgal/mi
The mpgUS, mpgU.S., USgal/mi vs U.S.gal/mi, km/L, L/100 km and L/km variants work within combinations also (making 36 combinations in total).
Power
Watts, kilowatts, milliwatts, etc. are supported. As is horsepower (English & metric). Use standard abbreviations as input code (lower case hp for horsepower, for example)
Population density
unit code
(alternative)
notes combinations
inhabitants per square kilometre PD/sqkm PD stands for population density, i.e. humans (inhabitants)
  • PD/sqkm PD/sqmi
per square kilometre /sqkm Used when the word 'inhabitants' would be inappropriate.
  • /sqkm /sqmi
inhabitants per hectare PD/ha
  • PD/ha PD/acre
per hectare /ha
  • /ha /acre
inhabitants per square mile PD/sqmi PD stands for population density, i.e. humans (inhabitants)
  • PD/sqmi PD/sqkm
per square mile /sqmi Used when the word 'inhabitants' would be inappropriate.
  • /sqmi /sqkm
inhabitants per acre PD/acre
  • PD/acre PD/ha
per acre /acre
  • /acre /ha

'per' units: kg/hl

[संपादन]

When using a slash (/), a unit like kg/hl is recognized as kilograms per hectolitre and will be converted with other mass/volume units.

Units of difference

[संपादन]

When a number is the measurement for a difference, one conversion is done. This may occur in temperatures (°C, °F, K). Compare this to a range, when two conversions are done.

The only available units of difference are: |C-change=, |F-change= and |K-change=.

  • {{convert|10|C}} → १० °से (५० °फॅ), regular temperature
  • {{convert|10|C-change}} → १० °C (१८ °F), difference (e.g., "The temperature changed from 30 into 40 °C")
  • {{convert|10-15|C}}रुपांतरण त्रूटी: मूल्य "10-15" अंकातच आवश्यक आहे, range (e.g., "The temperature is between 10 and 15 °C")

Consistently, into multiple units:

Multiple units: 1 ft 5 in

[संपादन]

Base document साचा:Convert/doc § Notes lists options for multiple unit input (like ft,in). It can catch predefined sets only (units that can be subdivided; e.g., yd into ft):

  • {{convert|1|yd|2|ft|3|in}} → १ यार्ड २ फूट ३ इंच (१.६० मी)
  • {{convert|2|ft|3|in|cm}} → २ फूट ३ इंच (६९ सेंमी)
  • {{convert|1|lb|5|oz|g}} → १ पौंड ५ औंस (६०० ग्रॅम)

Available multiple-unit output options predefined, like ftin and ydftin. The full list is at साचा:Convert/doc § Notes.

  • {{convert|2|m|ftin}} → २ मीटर (६ फूट ७ इंच)
  • {{convert|2|m|ft in}}रुपांतरण त्रूटी: "ft in" एकक अनोळखी आहे, using a space, returns the decimal point

Default behaviour, for comparison:

  • {{convert|2|m}} → २ मीटर (६ फूट ७ इंच)

See also:

  • {{hands}} a length used to measure horses
  • {{Long ton}} a weight in ton, cwt, qr and lb

Currency per unit: $/mi, €/km

[संपादन]

Using currency symbols in a $ per unit value, you can convert the per-unit:

You can set the currency in both values using |$=€:

It is not possible to convert the currency. So, this result (mixed currencies) is not possible: साचा:!mxt Red XN

Parameter list

[संपादन]
प्राचल किंमत वर्णन नोंदी
|abbr=in in Use symbol for first (left-hand side) unit Symbol ('abbreviation')
|abbr=off off Use name for all units Symbol ('abbreviation')
|abbr=none none
|abbr=on on Use symbol for all units Symbol ('abbreviation')
|abbr=out out Use symbol for right-hand side unit (default) Symbol ('abbreviation')
|abbr=values values Show only input and output numbers, not units Parts only
|abbr=~ ~ Shows both unit name and symbol Symbol & name
|adj=j j Join number and unit name using "&nbsp;" instead of a space Join values
|adj=mid|… mid User-specified text after the input unit; sets adj=on (adjective). Expects 1 unnamed parameter. Word adding, adjective
|adj=on on Unit name is adjective (singular and hyphenated) Grammar, adjective
|adj=pre|… pre User-specified text before input unit. Expects 1 unnamed parameter. Word adding
|adj=ri0 ri0 Round input with precision 0 Rounding and significant figures
|adj=ri1 ri1 Round input with precision 1 Rounding and significant figures
|adj=ri2 ri2 Round input with precision 2 Rounding and significant figures
|adj=ri3 ri3 Round input with precision 3 Rounding and significant figures
|disp=b b Join input and output using " (...)" (default) Join values
|disp=sqbr sqbr Join input and output using " [...]" Join values
|disp=br br Join input and output using "<br/>" Join values
|disp=comma comma Join input and output using ", " Join values
|disp=or or Join input and output using " or " Join values
|disp=number number Display output number only Parts only
|disp=output number only output number only
|disp=out out Display only output number and name/symbol Parts only
|disp=output only output only
|disp=preunit|…[|…] preunit Text to be inserted after value and before units, for both input and output, with optionally different text for output. Expects 1 or 2 unnamed parameters. Word adding
|disp=table table Output is suitable for a table cell with align="right" Table columns
|disp=tablecen tablecen Output is suitable for a table cell with align="center" Table columns
|disp=unit unit Display input name/symbol only (not input number, not output) Parts only
|disp=unit2 unit2 Display output name/symbol only (not input; not output number) Parts only
|disp=x|... x Join input and output using user-specified text Word adding
|comma=5 05 Only use comma for thousands separator if 5 or more digits Number format
|comma=gaps gaps Use gaps (space), not comma, for thousands separator Number format
|comma=gaps5 gaps5 Use gaps (space), but only if 5 or more digits Number format
|comma=off off No thousands separator Number format
|frac=N N Show imperial number in fractions, denominator=N Number format, fraction
|lk=in in Link left-hand side unit name or symbol Unit link
|lk=on on Link all unit names or symbols (but not twice for the same unit) Unit link
|lk=out out Link right-hand side unit name or symbol Unit link
|order=flip flip Inverts order of input, output measurements (conversion first) Order
|round=5 05 Rounds calculation to the nearest multiple of 5 Rounding and significant figures
|round=25 25 Rounds calculation to the nearest multiple of 25 Rounding and significant figures
|round=each each In a range, each number is rounded by the default rounding Rounding and significant figures
|sigfig=N N Round output number to N significant figures (N is a positive integer) Rounding and significant figures
|sortable=in in Output numeric hidden sort field for use in a sortable table (based on input) Table sort
|sortable=on on
|sortable=out out Output numeric hidden sort field for use in a sortable table (based on output) Table sort
|sp=us us Use U.S. spelling (like "meter" instead of default "metre") Spelling U.S. names
|spell=in in Spell input number in words Spelling numbers
|spell=In In Spell input number in words with first letter uppercase Spelling numbers
|spell=on on Spell input and output numbers in words Spelling numbers
|spell=On On Spell input and output numbers in words with first letter uppercase Spelling numbers
|$= $ Replace $-sign with a currency sign, for example in $/acre (no currency conversion happens) Cost per unit
|debug=yes yes Debugging only. In a sortable table: show the normally hidden sort key Table sort
|abbr=comma comma Deprecated. Use |comma=off Number format
|abbr=mos mos Deprecated. Use |x| or |by| Range format
|adj=1 01 Deprecated. Do not use. No need to deviate from regarding plurals Plural or singular
|adj=flip flip Deprecated. Use |order=flip Order
|adj=nocomma nocomma Deprecated. Use |comma=off Number format
|disp=2 02 Deprecated. Use |disp=output only Parts only
|disp=5 05 Deprecated. Use |round=5 Rounding and significant figures
|disp=flip flip Deprecated. Use |order=flip Order
|disp=flip5 flip5 Deprecated. Use |order=flip |round=5 Order, rounding
|disp=nocomma nocomma Deprecated. Use |comma=off Number format
|disp=u2 u2 Deprecated. Use |disp=unit2 Parts only
|near=5 05 Deprecated. Use |round=5 Rounding and significant figures

Deprecated options

[संपादन]

साचा:Convert/doc/deprecations list

TemplateData

[संपादन]
यथादृश्यसंपादक व इतर साधनांसाठी वापरण्यात येणारे हे टेम्प्लेटडाटा दस्तावेजीकरण आहे.

Convert साठी टेम्प्लेटडाटा

Converts measurements to other units.

साच्याचे प्राचल (पॅरामिटर्स)

प्राचलवर्णनप्रकारस्थिती
value1

the value to convert

आकडाऐच्छिक
from unit2

ओळऐच्छिक
to units3

the unit to convert into

ओळऐच्छिक
precision or suffix4

significant digits after decimal dot or, if negative, exponent of ten

आकडाऐच्छिक
link unitslk

“on” all, “in” input, “out” output or “off” no units

अविचल
off
ओळऐच्छिक
abbreviationabbr

display for the units: “on” unit symbols, “off” all unit names in full words, “in” input unit symbol, “out” abbreviated output units, “values” no units at all

अविचल
out
ओळऐच्छिक
spellingsp

“us” display U.S. spelling of unit names

ओळऐच्छिक
adjectiveadj

adjective form (singular unit name appended by hyphen) “on” or “mid” to put conversion at end

ओळऐच्छिक
conversiondisp

display conversion result: “or” after ‘or’, “x” with custom prefix and suffix, “b” in parentheses, “table”/“tablecen”, “output only” alone, “output number only” alone and without unit, “unit” not at all but input unit; if the value is a number it is used as precision

अविचल
b
ओळऐच्छिक
orderingorder

“flip” returns converted value first, input value second.

ओळऐच्छिक
significant figuressigfig

number that sets the number of significant figures

आकडाऐच्छिक
rounding outputround

“5” rounds the output number to nearest multiple of 5, “25” to nearest multiple of 25, “each” rounds each number in a range

ओळऐच्छिक
thousands separatorcomma

Sets or suppresses thousand separator in the numbers. “off” = no separator; “gaps”: use space not comma; “5” and “gaps5”: only add separator when number > 5 positions (10,000 or more)

अविचल
on
ओळऐच्छिक
sort keysortable

“on” generates a hidden sort key

ओळऐच्छिक