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}} → 2 किलोमीटर (1.2 मील)
{{convert|7|mi|km}} → 7 मील (11 किमी)

Enter units to convert:

  • {{convert|1|lb|kg}} → 1 पाउंड (0.45 किग्रा)
  • Units 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}} → 1 पाउंड (0.45 किग्रा)

To abbreviate both:

  • {{convert|1|lb|kg|abbr=on}} → 1 पाउंड (0.45 किग्रा)
  • {{convert|1|lb|kg|abbr=off}} → 1 पाउंड (0.45 किलोग्राम)

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

  • {{convert|1|lb|kg|abbr=in}} → 1 पाउंड (0.45 किलोग्राम)

When using scientific notation, the default is for the second (converted) value to display with scientific notation:

  • {{convert|100|e6mi|e6km}} → 100 मिलियन मील (160×10^6 किमी)

To display thousands, millions, etc., while abbreviating both input and output units use |abbr=unit:

  • {{convert|100|e6mi|e6km|abbr=unit}} → 100 मिलियन मील (160 मिलियन किमी)

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}} → 1 पाउंड (0.45 किग्रा)

is equal to:

{{convert|1|lb|kg|abbr=on}} → 1 पाउंड (0.45 किग्रा)

Adjective: a 10-mile distance

[संपादन करीं]

Use |adj=on to produce the adjective form:

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

Default behaviour, for comparison:

  • {{convert|10|mi|km}} to go → 10 मील (16 किमी) 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 30.48 मी. In practical use, it is common to round the calculated metric number. With that, there are several possibilities.

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}} 123 फीट (40 मी)
{{convert|123|ft|m}} 123 फीट (37 मी) same output as with 0 (below)
{{convert|123|ft|m|0}} 123 फीट (37 मी)
{{convert|123|ft|m|1}} 123 फीट (37.5 मी)
{{convert|123|ft|m|2}} 123 फीट (37.49 मी) exact value is 37.4904 m
{{convert|500|ft|m|-1}} 500 फीट (150 मी)
{{convert|500|ft|m}} 500 फीट (150 मी) same output as with -1 (above)
{{convert|500|ft|m|0}} 500 फीट (152 मी)
{{convert|500|ft|m|1}} 500 फीट (152.4 मी)
{{convert|500|ft|m|2}} 500 फीट (152.40 मी) exact 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}} → 1,200 फीट (365.8 मी)
  • {{convert|1200|ft|m|sigfig=3}} → 1,200 फीट (366 मी)
  • {{convert|1200|ft|m|sigfig=2}} → 1,200 फीट (370 मी)
  • {{convert|1200|ft|m|sigfig=1}} → 1,200 फीट (400 मी)

Default behaviour, for comparison:

  • {{convert|1200|ft|m}} → 1,200 फीट (370 मी)

Setting |sigfig= is meaningless

  • {{convert|1200|ft|m|sigfig=0}} → 1,200 फीट (370 मी)*

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

[संपादन करीं]

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

  • {{convert|10|m|ft}} → 10 मीटर (33 फीट)
  • {{convert|10|m|ft|round=5}} → 10 मीटर (35 फीट)

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

  • {{convert|10|m|ft}} → 10 मीटर (33 फीट)
  • {{convert|10|m|ft|round=25}} → 10 मीटर (25 फीट)

Default behaviour, for comparison:

  • {{convert|10|m|ft|sigfig=4}} → 10 मीटर (32.81 फीट)

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

  • {{convert|10 x 200 x 3000|m|ft}} → 10 बाई 200 बाई 3,000 मीटर (33 बाई 656 बाई 9,843 फीट)
  • {{convert|10 x 200 x 3000|m|ft|round=each}} → 10 बाई 200 बाई 3,000 मीटर (33 बाई 660 बाई 9,800 फीट)

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}} → 5.56 सेंटीमीटर (2 316 इंच)
  • {{convert|8|cm|in|frac=4}} → 8 सेंटीमीटर (3 14 इंच)

The fraction is reduced when possible:

  • {{convert|8|cm|in|frac=100}} → 8 सेंटीमीटर (3 320 इंच)

Default behaviour, for comparison:

  • {{convert|8|cm|in}} → 8 सेंटीमीटर (3.150 इंच)

Rounding temperatures: °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}} → 10,000 °C (18,000 °F; 10,300 K)
  2. {{convert|10,000.1|C|F K}} → 10,000.1 °C (18,032.2 °F; 10,273.2 K)
  3. {{convert|-272|C|F K}} → −272 °C (−457.60 °F; 1.15 K)
  4. {{convert|-272|C}} → −272 °C (−457.60 °F)
  5. {{convert|-300|C|F K}} → −300 °C (−508.0 °F; −26.9 K)
  6. {{convert|0|C|F K}} → 0 °C (32 °F; 273 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 0.1 degrees Celsius change is a 0.18 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}} → 10,000 °C (18,032 °F)

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

{{convert|10000|C|0}} → 10,000 °C (18,032 °F)

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 five significant output digits because of the two digits 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: 10 °C (50 °F; 283 K)

[संपादन करीं]

Separate the multiple output units by a space:

  • {{convert|10|C|F K}} → 10 °C (50 °F; 283 K)
  • {{convert|5|km|mi nmi}} → 5 किलोमीटर (3.1 मील; 2.7 समु-मील)

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

See also:

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:

Range separators in {{convert}}
Separator Convert Result Notes
- {{convert|3|-|6|ft}} 3–6 फीट (0.91–1.83 मी) Input can be hyphen (-) or en dash (–), output uses en dash
 &ndash; (en dash) {{convert|3|–|6|ft}} 3–6 फीट (0.91–1.83 मी)
and {{convert|3|and|6|ft}} 3 आ 6 फीट (0.91 आ 1.83 मी)
& {{convert|3|&|6|ft}} 3 &[convert: unknown unit] Same as and
and(-) {{convert|3|and(-)|6|ft}} 3 आ 6 फीट (0.91–1.83 मी) |abbr=on abbreviates the first unit
and(-)|abbr=on {{convert|3|and(-)|6|ft|abbr=on}} 3 आ 6 फीट (0.91–1.83 मी)
or {{convert|3|or|6|ft}} 3 या 6 फीट (0.91 या 1.83 मी)
to {{convert|3|to|6|ft}} 3 से 6 फीट (0.91 से 1.83 मी)
to(-) {{convert|3|to(-)|6|ft}} 3 से 6 फीट (0.91–1.83 मी) |abbr=on abbreviates the first unit
to(-)|abbr=on {{convert|3|to(-)|6|ft|abbr=on}} 3 से 6 फीट (0.91–1.83 मी)
to about {{convert|3|to about|6|ft}} 3 to about 6 फीट (0.91 to about 1.83 मी)
+/- {{convert|3|+/-|6|ft}} 3 ± 6 फीट (0.91 ± 1.83 मी)
± &plusmn; {{convert|3|±|6|ft}} 3 ± 6 फीट (0.91 ± 1.83 मी)
+ {{convert|3|+|6|ft}} 3 + 6 फीट (0.91 + 1.83 मी)
, {{convert|3|,|6|ft}} 3, 6 फीट (0.91, 1.83 मी)
, and {{convert|3|, and|6|ft}} 3, आ 6 फीट (0.91, आ 1.83 मी)
, or {{convert|3|, or|6|ft}} 3, या 6 फीट (0.91, या 1.83 मी)
by {{convert|3|by|6|ft}} 3 बाई 6 फीट (0.91 बाई 1.83 मी)
x {{convert|3|x|6|ft}} 3 बाई 6 फीट (0.91 मी × 1.83 मी) Scientific notation.
|abbr=on abbreviates the first unit
× &times; {{convert|3|×|6|ft}} 3 बाई 6 फीट (0.91 मी × 1.83 मी)
x|abbr=on {{convert|3|x|6|ft|abbr=on}} 3 बाई 6 फीट (0.91 मी × 1.83 मी)
xx |xx| is deprecated. Use |x| instead
* |*| is deprecated. Use |x| instead
to- |to-| is deprecated. Use |to(-)| instead
& |&| is deprecated. Use |and| instead
abbr=mos |abbr=mos is deprecated. Use |x| or |by| instead

Multiple dimensions: 6 मी × 12 मी (20 बाई 39 फीट)

[संपादन करीं]

Use by:

  • {{convert|6|by|12|ft|m}} → 6 बाई 12 फीट (1.8 बाई 3.7 मी)

Use ×, multiplication sign, or x, letter:

  • {{convert|6|x|12|m|ft}} → 6 बाई 12 मीटर (20 बाई 39 फीट)

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}} → 6 मी × 12 मी (20 बाई 39 फीट)

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}} → 1 फुट 3 इंच (380 मिमी)

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}} → 1 मीटर (3.3 फीट)—default
{{convert|1|m|ft|sp=us}} → 1 मीटर (3.3 फीट)

Spell out numbers: ten miles

[संपादन करीं]

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

  • {{convert|10|mi|m|spell=in}} → ten मील (16,000 मी)

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

  • {{convert|10|mi|m|spell=on}} → ten मील (sixteen thousand मीटर)

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

  • {{convert|10|mi|m|spell=In}} → Ten मील (16,000 मी)
  • {{convert|10|mi|m|spell=On}} → Ten मील (sixteen thousand मीटर)

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}} → ten मील (sixteen thousand मीटर)

Inserted before units: 4 planted acres

[संपादन करीं]
  • {{convert|4|acre||adj=pre|planted}} → 4 planted एकड़ (1.6 हे)

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 }} → 4 planted एकड़ (1.6 planted हे)
  • {{convert|4|acre||disp=preunit|planted |reforested-}} → 4 planted एकड़ (1.6 reforested-हे)

After adjective unit: A 10-फुट-long corridor

[संपादन करीं]
{{convert|10|ft|m|adj=mid|-long}} → 10-फुट-long (3.0 मी)

Plurals: 1 inch, 2 inches

[संपादन करीं]

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

  • {{convert|1|metre}} → 1 मीटर (3 फुट 3 इंच)
  • {{convert|2|metre}} → 2 मीटर (6 फुट 7 इंच)
  • {{convert|2|metre|abbr=on}} → 2 मी (6 फुट 7 इंच)
Exception

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

  • {{convert|100|foot|abbr=off}} → 100 फुट (30 मीटर)

Fractions: one-eighth of an imperial pint

[संपादन करीं]

The convert template also supports spelling out fractions.

  • {{convert|1/4|oz|g|spell=in}} → one-quarter औंस (7.1 ग्रा)

Any additional words needed for the fraction can also be added at the end of the template.

  • {{convert|1/8|imppt|mL|spell=in|adj=pre|of an}} → one-eighth of an imperial pint (71 मिलि)

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

[संपादन करीं]
Metric prefixes
Text Symbol Factor
yotta Y 1024
zetta Z 1021
exa E 1018
peta P 1015
tera T 1012
giga G 109
mega M 106
kilo k 103
hecto h 102
deca da 101
(none) (none)  1
deci d 10−1
centi c 10−2
milli m 10−3
micro μ 10−6
nano n 10−9
pico p 10−12
femto f 10−15
atto a 10−18
zepto z 10−21
yocto y 10−24

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:

  • 12 गीगामी (1.2×1010 मी)
  • 12 µमी (1.2×10−5 मी)

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

  • {{convert|12|Gm|mi|abbr=on}} → 12 गीगामी (7,500,000 मील)
  • Mm: 12 मेगामी (7,500 मील)
  • km: 12 किमी (39,000 फीट)
  • mm: 12 मिमी (0.47 इंच)
  • μm: 12 µमी (0.012 मिमी)
  • um: 12 µमी (0.012 मिमी) (letter "u" can be used for "μ" here)

The prefix can be used in the output unit:

  • {{convert|12000|mi|Mm|abbr=on}} → 12,000 मील (19 मेगामी)
  • {{convert|12|in|μm|abbr=on}} → 12 इंच (300,000 µमी)

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

  • {{convert|12|μm|μin|abbr=on}} → 12 µमी (470 µin)

Engineering notation: 7 × 106 m

[संपादन करीं]

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

  • {{convert|7|e6m}} → 7 मिलियन मीटर (23,000,000 फीट)

The same is possible for the output unit:

  • {{convert|23,000,000|ft|e6m}} → 23,000,000 फीट (7.0×10^6 मी)

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 1.23×10−14. 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}} → 12.3×10−15 atm (1.23×10−14 atm)
  • {{convert|0.00000005|atm|atm|abbr=on}} → 0.00000005 atm (5.0×10−8 atm)

Input with fractions: 1 12 इंच (38.1 मिमी)

[संपादन करीं]

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

  • {{convert|1/2|in|mm|1}}12 इंच (12.7 मिमी)
  • {{convert|1⁄2|in|mm|1}}12 इंच (12.7 मिमी)

With integers, use a + sign

  • {{convert|2+1⁄2|in|mm|1}}2 12 इंच (63.5 मिमी)

When negative, use a hyphen - and repeat it:

  • {{convert|-2-1⁄2|in|mm|1}}−2 12 इंच (−63.5 मिमी)
  • {{convert|2-1⁄2|in|mm|1}} → 2–12 इंच (50.8–12.7 मिमी) Note: this is read as a range
  • {{convert|-2+1⁄2|in|mm|1}}[convert: invalid number] Red XN Should be a number, not an expression (do not require a calculation)

Output with horizontal fraction bar in: 1/2 inch

[संपादन करीं]

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

  • {{convert|1//2|in|mm|1}}1/2 इंच (12.7 मिमी)
  • {{convert|2+1//2|in|mm|1}}2 1/2 इंच (63.5 मिमी)

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}} → 1,234,567 मीटर (4,050,417 फीट)
  • {{convert|1,234,567|m|ft}} → 1,234,567 मीटर (4,050,417 फीट)
  • {{convert|1 234 567|m|ft}}[convert: invalid number] Red XN

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

  • {{convert|1234567|m|ft|comma=off}} → 1234567 मीटर (4050417 फीट)

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

  • {{convert|1234567|m|ft|comma=gaps}}1234567 मीटर (4050417 फीट)

Default behaviour, for comparison:

  • {{convert|1234567|m|ft}} → 1,234,567 मीटर (4,050,417 फीट)

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}} → 1234 मीटर (4049 फीट)
  • {{convert|1234567|m|ft|comma=5}} → 1,234,567 मीटर (4,050,417 फीट)
  • {{convert|1234|m|ft|comma=gaps5}}1234 मीटर (4049 फीट)*
  • {{convert|1234567|m|ft|comma=gaps5}}1234567 मीटर (4050417 फीट)*

Default behaviour, for comparison:

  • {{convert|1234|m|ft}} → 1,234 मीटर (4,049 फीट)

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}} → 10 मीटर [33 फीट]
  • {{convert|10|m|ft|disp=comma}} → 10 मीटर, 33 फीट
  • {{convert|10|m|ft|disp=or}} → 10 मीटर या 33 फीट

Default behaviour, for comparison:

  • {{convert|10|m|ft}} → 10 मीटर (33 फीट)

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

  • {{convert|10|m|ft|disp=br}} → 10 मीटर
    33 फीट

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

  • {{convert|10|m|ft|disp=br()}} → 10 मीटर
    (33 फीट)

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

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

Flipping (reordering) the two measurements: 1,609.3 मीटर (1 मील)

[संपादन करीं]

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

  • {{convert|1|mi|m|order=flip}} → 1,609.3 मीटर (1 मील)

Default behaviour, for comparison:

  • {{convert|1|mi|m}} → 1 मील (1,609.3 मीटर)

When converting to multiple units, the effect is:

  • {{convert|10|km|mi nmi|order=flip}} → 6.2137 मील; 5.3996 समुंद्री मील (10 किलोमीटर)
  • {{convert|10|km|nmi mi|order=flip}} → 5.3996 समुंद्री मील; 6.2137 मील (10 किलोमीटर)

Displaying parts of the result: 2 (1.5)

[संपादन करीं]

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

Convert Output Description
{{convert|2|cuyd|m3}} 2 घन गज (1.5 मी3) Default behaviour, for comparison
{{convert|2|cuyd|m3|abbr=values}} 2 (1.5) Input and output numbers
{{convert|2|cuyd|m3|disp=unit}} घन गज Input unit
{{convert|2|cuyd|m3|disp=unit|adj=on}} घन-गज Input unit, adjective (hyphenated)
{{convert|2|cuyd|cuyd|0|disp=out|abbr=off}} 2 घन गज Input (workaround)
{{convert|2|cuyd|m3|abbr=~}} 2 घन गज [घन गज] (1.5 मी3) Input: both name and symbol
{{convert|2|cuyd|m3|disp=unit2}} मी3 Output unit (symbol)
{{convert|2|cuyd|m3|disp=unit2|abbr=off}} घन मीटर Output unit (name)
{{convert|2|cuyd|m3|disp=number}} 1.5 Output value
{{convert|2|cuyd|m3|disp=out}} 1.5 मी3 Output value and unit
{{convert|2|cuyd|m3|disp=out|abbr=off}} 1.5 घन मीटर Output value and unit

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=~}} → 2 किलोपास्कल [किपास्कल] (0.29 psi)
  • A {{convert|2|kPa|psi|abbr=~|adj=on}} pressureA 2-किलोपास्कल [किपास्कल] (0.29 psi) pressure

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()
100 किलोमीटर
62 मील
100 किलोमीटर
(62 मील)

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}}
style="text-align:right;"|10

|style="text-align:right;"|33

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

{{convert|20|m|ft|disp=tablecen}}
style="text-align:center;"|20

|style="text-align:center;"|66

The units are added as a column header:

  m ft
|disp=table 10 33
|disp=tablecen 20 66
|disp=<other> (default) 30 मीटर (98 फीट)

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 15 34 52
B 15.5 51
C 16.0 52.5
D 16 52

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.

The table below lists units supported by template {{convert}}. The list is not complete—more complete lists are linked for each dimension. A complete list is at the full list of units.

Explanation - unit codes

The {{convert}} template uses unit-codes, which are similar to (but not necessarily exactly the same as) the usual written abbreviation for a given unit. These 'unit-codes' are given in column 3 of the following tables, and are accepted as input by the {{convert}} template as the second and third unnamed parameters. For example, {{convert|100|kg|lb}} produces "100 किलोग्राम (220 पाउंड)" and {{convert|100|lb|kg}} produces "100 पाउंड (45 किग्रा)"

Some units have alternative unit-codes; these are shown in brackets in column 3, e.g. °F (F): either may be entered for Fahrenheit (but not lower-case f).

The unit-codes should be treated as case-sensitive, especially in cases like {{convert|100|Mm|mm}}, which produces "100 मेगामीटर (1.0×1011 मिमी)".

The output of {{convert}} can display multiple converted units, if further unit-codes are specified after the second unnamed parameter (without the | separator). Typical combination output units are listed below in column 7. For example, {{convert|55|nmi|km mi}} produces "55 समुंद्री मील (102 किमी; 63 मील)", and {{convert|1|oz|ozt g gr}} produces "1 औंस (0.91 ozt; 28 ग्रा; 440 ग्रे)".

Abridged list of units supported by {{Convert}}
ब्याख्या
सिस्टम इकाई इकाई-
कोड
चीन्हा भा
छोटरूप.
नोट डिफॉल्ट बदलाव
नमूना
कंबीनेशन
आउटपुट इकाई
the system(s) to which the unit belongs units listed by name unit-code to use in template symbols shown in output other notes about the units sample of the default conversion for the unit output codes for multiple conversions


AREA
(Full list)
system unit unit-
code
abbrev-
iation
notes sample default
conversion
combination
output units
SI वर्ग किलोमीटर km2 किमी2 US spelling: square kilometer
1.0 किमी2 (11,000,000 वर्ग फु)
  • km2 sqmi
वर्ग मीटर m2 मी2 US spelling: square meter
1.0 मी2 (11 वर्ग फु)
  • m2 sqft
वर्ग सेंटीमीटर cm2 सेमी2 US spelling: square centimeter
1.0 सेमी2 (0.0011 वर्ग फु)
  • cm2 sqin
वर्ग मिलीमीटर mm2 मिमी2 US spelling: square millimeter
1.0 मिमी2 (1.1×10−5 वर्ग फु)
  • mm2 sqin
non-SI metric हेक्टेयर ha हे 1.0 हे (2.5 एकड़)
Imperial
&
US customary
वर्ग मील sqmi वर्ग मील 1.0 वर्ग मील (2.6 किमी2)
  • sqmi km2
एकड़ acre (none) 1.0 एकड़ (0.40 हे)
वर्ग गज sqyd वर्ग गज 1.0 वर्ग गज (0.84 मी2)
वर्ग फुट sqft
(sqfoot)
वर्ग फु long code "sqfoot" outputs square foot (and never feet) 1.0 वर्ग फु (0.093 मी2)
  • sqft m2 (sqfoot m2)
वर्ग इंच sqin वर्ग इंच 1.0 वर्ग इंच (6.5 सेमी2)
  • sqin cm2
Other वर्ग समुंद्री मील sqnmi वर्ग समु.मी 1.0 वर्ग समु.मी (3.4 किमी2; 1.3 वर्ग मील)
dunam dunam (none) For alternative spellings and definitions see the full list 1.0 dunam (0.0010 किमी2; 0.00039 वर्ग मील)
tsubo tsubo (none) 1.0 tsubo (3.3 मी2)


DENSITY
(Full list)
system unit unit-
code
abbrev-
iation
notes sample default
conversion
combination
output units
Metric किलोग्राम प्रति घनमीटर kg/m3 किग्रा/मी3 1.0 किग्रा/मी3 (1.7 lb/cu yd)
  • kg/m3 lb/ft3 (kg/m3 lb/cuft)
  • kg/m3 lb/yd3 (kg/m3 lb/cuyd)
ग्राम per घन मीटर g/m3 ग्रा/मी3 1.0 ग्रा/मी3 (0.0017 lb/cu yd)
  • g/m3 kg/m3
  • g/m3 lb/ft3 (g/cm3 lb/cuft)
  • g/m3 lb/yd3 (g/cm3 lb/cuyd)
Imperial
&
US customary
पाउंड प्रति घनफुट lb/ft3 lb/cu ft 1.0 lb/cu ft (0.016 ग्रा/सेमी3)
  • lb/ft3 kg/m3 (lb/cu ft g/m3)
  • lb/ft3 g/m3 (lb/cu ft g/m3)
पाउंड प्रति घन गज lb/yd3 lb/cu yd 1.0 lb/cu yd (0.59 किग्रा/मी3)
  • lb/yd3 kg/m3 (lb/cuyd kg/m3)
  • lb/yd3 g/m3 (lb/cuyd g/m3)


ENERGY
(Full list)
system unit unit-
code
abbrev-
iation
notes sample default
conversion
combination
output units
SI गीगाजूल GJ (none) 1.0 गीगाजूल (240,000,000 cal)
मेगाजूल MJ (none) 1.0 मेगाजूल (240,000 cal)
किलोजूल kJ (none) 1.0 किलोजूल (240 cal)
हेक्टोजूल hJ (none) 1.0 हेक्टोजूल (24 cal)
डेकाजूल daJ (none) 1.0 डेकाजूल (2.4 cal)
जूल J (none) 1.0 जूल (0.24 cal)
डेसीजूल dJ (none) 1.0 डेसीजूल (0.024 cal)
सेंटीजूल cJ (none) 1.0 सेंटीजूल (0.0024 cal)
मिलीजूल mJ (none) 1.0 मिलीजूल (0.00024 cal)
माइक्रोजूल µJ (uJ) (none) 1.0 माइक्रोजूल (2.4×10−7 cal)
नैनोजूल nJ (none) 1.0 नैनोजूल (2.4×10−10 cal)
cgs megaerg Merg Merg 1.0 Merg (0.10 जूल)
kiloerg kerg kerg 1.0 kerg (0.10 मिलीजूल)
erg erg (none) 1.0 erg (0.10 माइक्रोजूल)
Watt-hour multiples terawatt-hour TWh TWh 1.0 TWh (3.6 पेटाजूल)
TW.h TW·h
गीगावाट-घंटा GWh GWh 1.0 GWh (3.6 टेराजूल)
GW.h GW·h
megawatt-hour MWh MWh 1.0 MWh (3.6 गीगाजूल)
MW.h MW·h
kilowatt-hour kWh kWh 1.0 kWh (3.6 मेगाजूल)
kW.h kW·h
watt-hour Wh Wh 1.0 Wh (3.6 किलोजूल)
W.h W·h
Electron-
volt
multiples
gigaelectronvolt GeV GeV 1.0 GeV (0.16 नैनोजूल)
megaelectronvolt MeV MeV 1.0 MeV (0.16 पिकोजूल)
kiloelectronvolt keV keV 1.0 keV (0.16 फेम्टोजूल)
electronvolt eV eV 1.0 eV (0.16 एट्टोजूल)
millielectronvolt meV meV 1.0 meV (0.16 जेप्टोजूल)
Calorie multiples कैलोरी Cal Cal The thermo-chemical calorie is the default definition. For others, see the full list. 1.0 Cal (4.2 किलोजूल)
megacalorie Mcal Mcal 1.0 Mcal (4.2 मेगाजूल)
किलोकैलोरी kcal (none) 1.0 किलोकैलोरी (4.2 किलोजूल)
कैलोरी cal cal 1.0 cal (4.2 जूल)
millicalorie mcal mcal 1.0 mcal (4.2 मिलीजूल)
pound/
ounce
-foot/
inch-hour-minute-second
foot-poundal ftpdl ft·pdl 1.0 ft·pdl (0.042 जूल)
फुट-पाउंड बल ftlbf फुट·पाउंडबल 1.0 फुट·पाउंडबल (1.4 जूल)
ftlb-f फुट·पाउंडबल
इंच-पाउंड बल inlbf इंच·पाउंडबल 1.0 इंच·पाउंडबल (110 मिलीजूल)
inlb-f इंच·पाउंडबल
इंच-औंस बल inozf इंच·औंसबल 1.0 इंच·औंसबल (7.1 मिलीजूल)
inoz-f इंच·औंसबल
हार्सपावर-घंटा hph hp·h 1.0 hp·h (0.75 kWh)
British thermal unit ब्रिटिश ऊष्मा इकाई Btu Btu The International Steam Table British thermal unit is used. For others, see the full list. 1.0 Btu (1.1 किलोजूल)
BTU BTU
TNT-based units gigatonne of TNT GtTNT (none) 1.0 gigatonne of TNT (4.2 एक्साजूल)
gigaton of TNT GtonTNT (none)
megatonne of TNT MtTNT (none) 1.0 megatonne of TNT (4.2 पेटाजूल)
megaton of TNT MtonTNT Mt
kilotonne of TNT ktTNT (none) 1.0 kilotonne of TNT (4.2 टेराजूल)
kiloton of TNT ktonTNT kt
tonne of TNT tTNT (none) 1.0 tonne of TNT (4.2 गीगाजूल)
ton of TNT tonTNT (none)
Other
Hartree Eh Eh 1.0 Eh (27 eV)
rydberg Ry Ry 1.0 Ry (14 eV)
tonne of oil equivalent toe toe 1.0 toe (42 गीगाजूल)
barrel of oil equivalent BOE BOE 1.0 BOE (6.1 गीगाजूल)
cubic foot of natural gas cuftnaturalgas (cufootnaturalgas) Unit-code cufootnaturalgas will show "cubic foot of natural gas" if plural. 1.0 cubic foot of natural gas (1.1 मेगाजूल)
litre-atmosphere latm l·atm 1.0 l·atm (100 जूल)
Latm L·atm
इंपीरियल गैलन एटमॉस्फीयर impgalatm imp gal·atm 1.0 imp gal·atm (460 जूल)
US gallon-atmosphere USgalatm
(usgalatm)
US gal·atm 1.0 US gal·atm (380 जूल)
U.S.galatm
(usgalatm)
U.S. gal·atm


FORCE
(Full list)
system unit unit-
code
abbrev-
iation
notes sample default
conversion
combination
output units
SI गीगान्यूटन GN (none) Allows triple output units. See: full list. 1.0 गीगान्यूटन (220,000,000 lbf)
  • GN LT-f
  • GN LTf
  • GN ST-f
  • GN STf
मेगान्यूटन MN (none) Allows triple output units. See: full list. 1.0 मेगान्यूटन (220,000 lbf)
  • MN LT-f
  • MN LTf
  • MN ST-f
  • MN STf
किलोन्यूटन kN (none) Allows triple output units. See: full list. 1.0 किलोन्यूटन (220 lbf)
  • kN LT-f
  • kN LTf
  • kN ST-f
  • kN STf
न्यूटन N (none) 1.0 न्यूटन (0.22 lbf)
  • N lb-f
  • N lbf
  • N oz-f
  • N ozf
मिलीन्यूटन mN (none) 1.0 मिलीन्यूटन (0.00022 lbf)
  • mN oz-f
  • mN ozf
  • mN gr-f
  • mN grf
माइक्रोन्यूटन µN (uN) (none) 1.0 माइक्रोन्यूटन (2.2×10−7 lbf)
  • µN gr-f
  • µN grf
नैनोन्यूटन nN (none) 1.0 नैनोन्यूटन (2.2×10−10 lbf)
  • nN gr-f
  • nN grf
cgs megadyne Mdyn Mdyn 1.0 Mdyn (2.2 lbf)
किलोडाइन kdyn kdyn 1.0 kdyn (0.036 ozf)
डाइन dyn
(dyne)
(none) 1.0 डाइन (0.016 ग्रेनबल)
millidyne mdyn mdyn 1.0 mdyn (1.6×10−5 ग्रेनबल)
Metric gravitational units tonne-force t-f tf 1.0 tf (9.8 किलोन्यूटन; 0.98 LTf; 1.1 STf)
tf tf
kilogram-force kg-f kgf 1.0 kgf (9.8 न्यूटन; 2.2 lbf)
kgf kgf
ग्राम-बल g-f ग्राबल 1.0 ग्राबल (9.8 मिलीन्यूटन; 0.035 ozf)
gf ग्रामबल
milligram-force mg-f mgf 1.0 mgf (9.8 माइक्रोन्यूटन; 0.015 ग्रेनबल)
mgf mgf
Avoirdupois-based units poundal pdl pdl 1.0 pdl (0.14 न्यूटन)
लांग टन-बल LT-f LTf 1.0 LTf (10.0 किलोन्यूटन)
  • LT-f ST-f
LTf लांग टन-बल
  • LTf STf
short ton-force ST-f STf 1.0 STf (8.9 किलोन्यूटन)
  • ST-f LT-f
STf short ton-force
  • STf LTf
पाउंड-बल lb-f lbf 1.0 lbf (4.4 न्यूटन)
lbf lbf
ग्रेन-बल gr-f ग्रेनबल 1.0 ग्रेनबल (640 माइक्रोन्यूटन)
grf ग्रेन-बल


LENGTH
(Full list)
system unit unit-
code
abbrev-
iation
notes sample default
conversion
combination
output units
SI मेगामीटर Mm मेगामी US spelling: megameter
1.0 मेगामी (3,280,839 फुट 11 इंच)
किलोमीटर km किमी US spelling: kilometer
1.0 किमी (0.62 मील)
  • km mi
मीटर m मी US spelling: meter
1.0 मी (3 फुटइंच)
  • m ft
  • m ftin
सेंटीमीटर cm सेमी US spelling: centimeter
1.0 सेमी (0.39 इंच)
  • cm in
मिलीमीटर mm मिमी US spelling: millimeter
1.0 मिमी (0.039 इंच)
  • mm in
माइक्रोमीटर µm (um) µमी US spelling: micrometer
1.0 µमी (3.9×10−5 इंच)
नैनोमीटर nm nमी US spelling: nanometer
1.0 nमी (3.9×10−8 इंच)
non-SI metric एंगस्ट्रम Å
(angstrom)
Å 1.0 Å (3.9×10−9 इंच)
Imperial
&
US customary
मील mi (none) 1.0 मील (1.6 किमी)
  • mi km
फर्लांग furlong (none) 1.0 फर्लांग (660 फीट; 200 मी)
जरीब chain (none) 1.0 जरीब (66 फीट; 20 मी)
लट्ठा rd rd For other names of this unit see the full list. 1.0 rd (17 फीट; 5.0 मी)
फैदम fathom (none) fathom ≡ 6 ft 1.0 फैदम (6.0 फीट; 1.8 मी)
गज yd (none) assumes the international definition 1.0 गज (0.91 मी)
फुट ft (foot) (none) long code "foot" outputs foot (and never feet) 1.0 फुट (0.30 मी)
  • ftin (feet and inches)
  • ft m (foot m)
इंच in (none) 1.0 इंच (25 मिमी)
  • in cm
  • in mm
Other समुंद्री मील nmi समु-मील the international standard nautical mile
For other nautical miles see the full list.
1.0 समु-मील (1.9 किमी; 1.2 मील)
पारसेक pc pc 1.0 pc (3.3 प्रकाशवर्ष)
प्रकाश-बरिस ly प्रकाशवर्ष 1.0 प्रकाशवर्ष (63,000 AU)
खगोलीय इकाई AU AU 1.0 AU (150,000,000 किमी; 93,000,000 मील)


MASS
(Full list)
system unit unit-
code
abbrev-
iation
notes sample default
conversion
combination
output units
SI किलोग्राम kg किग्रा Allows triple output units. See: full list. 1.0 किग्रा (35 औंस)
  • kg lb
  • kg st
ग्राम g ग्रा 1.0 ग्रा (0.035 औंस)
  • g oz
मिलीग्राम mg मिग्रा 1.0 मिग्रा (3.5×10−5 औंस)
  • mg gr
माइक्रोग्राम µg (ug) µग्रा 1.0 µग्रा (3.5×10−8 औंस)
non-SI metric टन t (none) Allows triple output units. See: full list. 1.0 टन (0.98 लांग टन; 1.1 शार्ट टन)
  • t LT
  • t ST
मीटरी टन MT t
  • MT LT
  • MT ST
Avoirdupois लांग टन LT (none) 2,240 lb
used mostly in the British Commonwealth.
Allows triple output units. See: full list.
1.0 लांग टन (1.0 टन)
  • LT t
  • LT MT
  • LT ST
long ton लांग टन
शार्ट टन ST (none) 2,000 lb
used mostly in the US.
Allows triple output units. See: full list.
1.0 शार्ट टन (0.91 टन)
  • ST t
  • ST MT
  • ST LT
short ton शार्ट टन
स्टोन st (none) 14 lb
used mostly in the British Commonwealth except Canada.
Allows triple output units. See: full list.
1.0 स्टोन (14 पाउंड; 6.4 किग्रा)
  • st kg
  • st lb
पाउंड lb (none) Allows triple output units. See: full list. 1.0 पाउंड (0.45 किग्रा)
  • lb kg
  • lb st
औंस oz (none) 1.0 औंस (28 ग्रा)
  • oz g
ड्राम drachm (none) 1.0 ड्राम (1.8 ग्रा)
ड्राम dram (none)
ग्रेन gr ग्रे equivalent to the troy grain 1.0 ग्रे (0.065 ग्रा)
Troy troy ounce ozt ozt 1.0 ozt (1.1 औंस; 31 ग्रा)
other कैरट carat (none) 1.0 कैरट (0.20 ग्रा)


SPEED
(Full list)
system unit unit-
code
abbrev-
iation
notes sample default
conversion
combination
output units
SI मीटर प्रति सेकेंड m/s मी/से US spelling: meter per second
1.0 मी/से (3.3 फुट/से)
  • m/s ft/s (m/s foot/s)
non-SI metric किलोमीटर प्रति घंटा km/h किमी/घं US spelling: kilometer per hour
1.0 किमी/घं (0.62 मील/घं)
  • km/h mph
Imperial
&
US customary
मील प्रति घंटा mph मील/घं 1.0 मील/घं (1.6 किमी/घं)
  • mph km/h
  • mph kn
फुट प्रति सेकेंड ft/s (foot/s) फुट/से long code "foot/s" outputs foot per second (and never feet) 1.0 फुट/से (0.30 मी/से)
  • ft/s m/s
Maritime units नॉट kn (knot) kn 1.0 kn (1.9 किमी/घं; 1.2 मील/घं)
  • kn mph


TEMPERATURE
(Full list)
system unit unit-
code
abbrev-
iation
notes sample default
conversion
combination
output units
SI K K K Allows triple output units. See: full list. 1.0 K (−272.15 °C; −457.87 °F)
  • K °C (K C)
  • K °R (K R)
  • K °F (K F)
°C °C (C) °C 1.0 °C (33.8 °F)
  • °C K (C K)
  • °C °R (C R)
  • °C °F (C F)
Imperial
&
US customary
°R °R (R) °R 1.0 °R (0.556 K; −458.670 °F; −272.594 °C)
  • °R K (R K)
  • °R °C (R C)
  • °R °F (R F)
°F °F (F) °F 1.0 °F (−17.2 °C)
  • °F K (F K)
  • °F °C (F C)
  • °F °R (F R)
Celsius change C-change Used for temperature intervals instead of actual temperatures
Example:  {{convert|5|C-change|0}} warmer
Result: 5 °C (9 °F) warmer
Fahrenheit change F-change Used for temperature intervals instead of actual temperatures
Example:  {{convert|10|F-change|0}} colder
Result: 10 °F (6 °C) colder


TORQUE
(Full list)
system unit unit-
code
abbrev-
iation
notes sample default
conversion
combination
output units
Industrial
SI न्यूटन मीटर Nm (none) Triple combinations are also possible. See the full list. 1.0 न्यूटन मीटर (0.74 lbf·ft)
  • Nm kg.m
  • Nm lb.ft
Non-SI metric किलोग्राम मीटर kg.m किग्रा·मी 1.0 किग्रा·मी (9.8 न्यूटन मीटर; 7.2 पौंड·फुट)
  • kg.m Nm
  • kg.m lb.ft
Imperial
&
US customary
पौंड बल-फुट lb.ft पौंड·फुट 1.0 पौंड·फुट (1.4 न्यूटन मीटर)
  • lb.ft Nm
  • lb.ft kg-m
Scientific
SI न्यूटन मीटर N.m (none) Triple combinations are also possible. See the full list. 1.0 न्यूटन मीटर (0.74 lbf·ft)
  • N.m kgf.m
  • N.m lbf.ft
Non-SI metric किलोग्राम बल-मीटर kgf.m kgf·m 1.0 kgf·m (9.8 न्यूटन मीटर; 7.2 lbf·ft)
  • kgf.m N.m
  • kgf.m lbf.ft
Imperial
&
US customary
pound force-foot lbf.ft lbf·ft 1.0 lbf·ft (1.4 न्यूटन मीटर)
  • lbf.ft N.m
  • lbf.ft kgf.m


VOLUME
(Full list)
system unit unit-
code
abbrev-
iation
notes sample default
conversion
combination
output units
SI घन मीटर m3 मी3 US spelling: cubic meter
one kilolitre
1.0 मी3 (35 घन फुट)
सेंटीघन मीटर cm3 सेमी3 US spelling: cubic centimeter
one millilitre
1.0 सेमी3 (3.5×10−5 घन फुट)
cc सीसी
मिलीघन मीटर mm3 मिमी3 US spelling: cubic millimeter
1.0 मिमी3 (3.5×10−8 घन फुट)
non-SI metric किलोलिटर kl किलि US spelling: kiloliter
one cubic metre
1.0 किलि (220 इंपीरियल गैलन; 260 यूएस गैलन)
kL किलि
लिटर l लि US spelling: liter
one cubic decimetre
Allows triple output units. See: full list.
1.0 लि (0.22 इंपीरियल गैलन; 0.26 यूएस गैलन)
  • l impgal
  • l USgal
  • l U.S.gal
  • l USdrygal
  • l U.S.drygal
L लि
  • L impgal
  • L impqt
  • L USgal
  • L U.S.gal
  • L USdrygal
  • L U.S.drygal
सेंटीलिटर cl सेलि US spelling: centiliter
1.0 सेलि (0.0022 इंपीरियल गैलन; 0.0026 यूएस गैलन)
cL सेलि
मिलीलिटर ml मिलि US spelling: milliliter
one cubic centimetre
1.0 मिलि (0.00022 इंपीरियल गैलन; 0.00026 यूएस गैलन)
  • ml impoz
  • ml USoz
  • ml U.S.oz
mL मिलि
  • mL impoz
  • mL USoz
  • mL U.S.oz
Imperial
&
US customary
घन गज cuyd घन गज 1.0 घन गज (0.76 मी3)
घनफुट cuft (cufoot) घन फुट long code "cufoot" outputs cubic foot (and never feet) 1.0 घन फुट (0.028 मी3)
घन इंच cuin घन इंच 1.0 घन इंच (16 सेमी3)
Imperial इंपीरियल बैरल impbbl इंपीरियल बैरल 36 imp gal 1.0 इंपीरियल बैरल (160 लि; 36 इंपीरियल गैलन; 43 यूएस गैलन)
इंपीरियल बुशेल impbsh इंपीरियल बुशेल 8 imp gal 1.0 इंपीरियल बुशेल (36 लि; 8.0 इंपीरियल गैलन; 8.3 US dry gal)
impbu इंपीरियल बुशेल
इंपीरियल गैलन impgal इंपीरियल गैलन 4.54609 litres by definition, also
4 imp qt or 8 imp pt or 160 imp fl oz
Allows triple output units. See: full list.
1.0 इंपीरियल गैलन (4.5 लि; 1.2 यूएस गैलन)
  • impgal l
  • impgal L
  • impgal USgal
  • impgal U.S.gal
  • impgal USdrygal
  • impgal U.S.drygal
imperial quart impqt imp qt 1/4 imp gal or 40 imp fl oz 1.0 imp qt (1,100 मिलि; 38 यूएस फ्लूइड औंस)
imperial pint imppt imp pt 1/8 imp gal or 20 imp fl oz 1.0 imp pt (0.57 लि)
इंपीरियल फ्लूइड औंस impoz (impfloz) इंपीरियल फ्लूइड औंस 1/160 imp gal 1.0 इंपीरियल फ्लूइड औंस (28 मिलि; 0.96 यूएस फ्लूइड औंस)
  • impoz USoz
  • impoz U.S.oz
  • impoz ml
  • impoz mL
US customary
liquid measure
यूएस बैरल USbbl यूएस बैरल 31½ US gal
used for liquids except for oil and beer (see the full list)
1.0 यूएस बैरल (120 लि; 32 यूएस गैलन; 26 इंपीरियल गैलन)
U.S.bbl U.S. bbl
बैरल oilbbl bbl 42 US gal 1.0 bbl (0.16 मी3)
यूएस बियर बैरल USbeerbbl
(usbeerbbl)
यूएस बियरबैरल 1.0 यूएस बियरबैरल (120 लि; 31 यूएस गैलन; 26 इंपीरियल गैलन)
U.S.beerbbl
(usbeerbbl)
U.S. bbl
यूएस गैलन USgal यूएस गैलन 231 cubic inches by definition, also
4 US qt or 8 US pt or 128 US fl oz
Allows triple output units. See: full list.
1.0 यूएस गैलन (3.8 लि; 0.83 इंपीरियल गैलन)
  • USgal l
  • USgal L
  • USgal impgal
U.S.gal यू.एस. गैलन
  • USgal l
  • USgal L
  • USgal impgal
US quart USqt US qt 1/4 US gal or 32 US fl oz 1.0 US qt (950 मिलि)
U.S.qt U.S. qt
US pint USpt US pt 1/8 US gal or 16 US fl oz 1.0 US pt (0.47 लि; 0.83 imp pt)
U.S.pt U.S. pt
यूएस फ्लूइड औंस USoz
(USfloz)
यूएस फ्लूइड औंस 1/128 US gal 1.0 यूएस फ्लूइड औंस (30 मिलि)
  • USoz ml
  • USoz mL
  • USoz impoz
U.S.oz
(U.S.floz)
यू.एस. फ्लूइड औंस
  • U.S.oz ml
  • U.S.oz mL
  • U.S.oz impoz
US customary
dry measure
US dry barrel USdrybbl US dry bbl 105/32 US bsh 1.0 US dry bbl (0.12 मी3)
U.S.drybbl U.S. dry bbl
यूएस बुशेल USbsh यूएस बुशेल 2150.42 cubic inches by definition 1.0 यूएस बुशेल (35 लि; 8.0 US dry gal; 7.8 इंपीरियल गैलन)
U.S.bsh U.S. bsh
यूएस बुशेल USbu यूएस बुशेल 2150.42 cubic inches by definition 1.0 यूएस बुशेल (35 लि; 8.0 US dry gal; 7.8 इंपीरियल गैलन)
U.S.bu U.S. bu
US dry gallon USdrygal US dry gal 1/8 US bsh
Allows triple output units. See: full list.
1.0 US dry gal (4.4 लि)
  • USdrygal l
  • USdrygal L
  • USdrygal impgal
U.S.drygal U.S. dry gal
  • U.S.drygal l
  • U.S.drygal L
  • U.S.drygal impgal
US dry quart USdryqt US dry qt 1/32 US bsh 1.0 US dry qt (1,100 मिलि)
U.S.dryqt U.S. dry qt
US dry pint USdrypt US dry pt 1/32 US bsh 1.0 US dry pt (550 मिलि)
U.S.drypt U.S. dry pt


PRESSURE
unit unit-
code
abbrev-
iation
sample default
conversion
गीगापास्कल GPa (none) 1.0 गीगापास्कल (150,000 psi)
मेगापास्कल MPa (none) 1.0 मेगापास्कल (150 psi)
किलोपास्कल kPa (none) 1.0 किलोपास्कल (0.15 psi)
हेक्टोपास्कल hPa (none) 1.0 हेक्टोपास्कल (0.015 psi)
पास्कल Pa (none) 1.0 पास्कल (0.00015 psi)
मिलीपास्कल mPa (none) 1.0 मिलीपास्कल (1.5×10−7 psi)
मिलिबार mbar मिबार 1.0 मिबार (1.0 हेक्टोपास्कल)
mb मिबा
डेसीबार dbar डेबार 1.0 डेबार (10 किलोपास्कल)
बार bar (none) 1.0 बार (100 किलोपास्कल)
kilobarye kBa kBa 1.0 kBa (1.0 हेक्टोपास्कल)
barye Ba Ba 1.0 Ba (0.10 पास्कल)
स्टैंडर्ड एटमॉस्फीयर atm atm 1.0 atm (100 किलोपास्कल)
टोर Torr (none) 1.0 टोर (0.13 किलोपास्कल)
मिलिमीटर पारा mmHg mmHg 1.0 mmHg (0.13 किलोपास्कल)
इंच पारा inHg inHg 1.0 inHg (3.4 किलोपास्कल)
पाउंड प्रति वर्ग इंच psi psi 1.0 psi (6.9 किलोपास्कल)
FUEL EFFICIENCY
unit unit-
code
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 (lowercase hp for horsepower, for example)
POPULATION DENSITY
unit unit-
code
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
COST PER UNIT MASS
unit unit-
code
notes combinations
dollars per pound $/lb "$" can mean US$, HK$, etc.
  • (none)
dollars per kilogram $/kg
  • (none)
dollars per troy ounce $/ozt 12 troy ounces in 1 troy pound
  • (none)

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

  • {{convert|1000|kg/hl}} → 1,000 किलोग्राम per हेक्टोलिटर (1,600 औंस/इंपीरियल गैलन)

Units of difference: 10 °C higher; how much in °F

[संपादन करीं]

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}} → 10 °C (50 °F), regular temperature
  • {{convert|10|C-change}} → 10 °C (18 °F), difference (e.g., "The temperature changed from 30 into 40 °C")
  • {{convert|10-15|C}} → 10–15 °C (50–59 °F), range (e.g., "The temperature is between 10 and 15 °C")

Consistently, into multiple units:

  • A rise of {{convert|10|C-change|F-change K-change}} → A rise of 10 °C (18 °F; 10 K)

Multiple units: 1 ft 5 in

[संपादन करीं]

Base document § Input multiples 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}} → 1 गज 2 फीट 3 इंच (1.60 मी)
  • {{convert|2|ft|3|in|cm}} → 2 फीट 3 इंच (69 सेमी)
  • {{convert|1|lb|5|oz|g}} → 1 पाउंड 5 औंस (600 ग्रा)

Available multiple-unit output options predefined, like ftin and ydftin. The full list is at § Output multiples.

  • {{convert|2|m|ftin}} → 2 मीटर (6 फुट 7 इंच)
  • {{convert|2|m|ft in}} → 2 मीटर (6.6 फीट; 79 इंच), using a space, returns the decimal point

Default behaviour, for comparison:

  • {{convert|2|m}} → 2 मीटर (6 फुट 7 इंच)

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:

  • {{convert|10|$/mi|$/km}} → $10 per मील ($6.2/किमी)

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

  • {{convert|10|$/mi|$/km|$=€}} → €10 per मील (€6.2/किमी)

It is not possible to convert the currency. So, this result (mixed currencies) is not possible: $15 per mile (€8.6/km) Red XN

Parameter options for {{convert}}
Parameter Value Description Note
|abbr=in Use symbol for first (left-hand side) unit Symbol ('abbreviation')
|abbr=off Use name for all units Symbol ('abbreviation')
|abbr=none
|abbr=on Use symbol for all units Symbol ('abbreviation')
|abbr=out Use symbol for right-hand side unit (default) Symbol ('abbreviation')
|abbr=unit Use symbol for all units when using scientific notation Symbol ('abbreviation')
|abbr=values Show only input and output numbers, not units Parts only
|abbr=~ Shows both unit name and symbol Symbol & name
|adj=mid|… User-specified text after the input unit; sets adj=on (adjective). Expects 1 unnamed parameter. Word adding, adjective
|adj=on Unit name is adjective (singular and hyphenated) Grammar, adjective
|adj=pre|… User-specified text before input unit. Expects 1 unnamed parameter. Word adding
|adj=ri0 Round input with precision 0 Rounding and significant figures
|adj=ri1 Round input with precision 1 Rounding and significant figures
|adj=ri2 Round input with precision 2 Rounding and significant figures
|adj=ri3 Round input with precision 3 Rounding and significant figures
|disp=b Join input and output using " (...)" (default) Join values
|disp=sqbr Join input and output using " [...]" Join values
|disp=br Join input and output using "<br/>" Join values
|disp=comma Join input and output using ", " Join values
|disp=or Join input and output using " or " Join values
|disp=number Display output number only Parts only
|disp=output number only
|disp=out Display only output number and name/symbol Parts only
|disp=output only
|disp=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 Output is suitable for a table cell with align="right" Table columns
|disp=tablecen Output is suitable for a table cell with align="center" Table columns
|disp=unit Display input name/symbol only (not input number, not output) Parts only
|disp=unit2 Display output name/symbol only (not input; not output number) Parts only
|disp=x|... Join input and output using user-specified text Word adding
|comma=5 Only use comma for thousands separator if 5 or more digits Number format
|comma=gaps Use gaps (space), not comma, for thousands separator Number format
|comma=gaps5 Use gaps (space), but only if 5 or more digits Number format
|comma=off No thousands separator Number format
|frac=N Show imperial number in fractions, denominator=N Number format, fraction
|lk=in Link left-hand side unit name or symbol Unit link
|lk=on Link all unit names or symbols (but not twice for the same unit) Unit link
|lk=out Link right-hand side unit name or symbol Unit link
|order=flip Inverts order of input, output measurements (conversion first) Order
|round=5 Rounds calculation to the nearest multiple of 5 Rounding and significant figures
|round=25 Rounds calculation to the nearest multiple of 25 Rounding and significant figures
|round=each In a range, each number is rounded by the default rounding Rounding and significant figures
|sigfig=N Round output number to N significant figures (N is a positive integer) Rounding and significant figures
|sortable=in Output numeric hidden sort field for use in a sortable table (based on input) Table sort
|sortable=on
|sortable=out Output numeric hidden sort field for use in a sortable table (based on output) Table sort
|sp=us Use U.S. spelling (like "meter" instead of default "metre") Spelling U.S. names
|spell=in Spell input number in words Spelling numbers
|spell=In Spell input number in words with first letter uppercase Spelling numbers
|spell=on Spell input and output numbers in words Spelling numbers
|spell=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 Debugging only. In a sortable table: show the normally hidden sort key Table sort
|abbr=comma Deprecated. Use |comma=off Number format
|abbr=mos Deprecated. Use |x| or |by| Range format
|adj=1 Deprecated. Do not use. No need to deviate from regarding plurals Plural or singular
|adj=flip Deprecated. Use |order=flip Order
|adj=j Deprecated. Do not use. No need to join number and unit with &nbsp;. Not by MOS, and could be misunderstood HTML Join values
|adj=nocomma Deprecated. Use |comma=off Number format
|disp=2 Deprecated. Use |disp=output only Parts only
|disp=5 Deprecated. Use |round=5 Rounding and significant figures
|disp=flip Deprecated. Use |order=flip Order
|disp=flip5 Deprecated. Use |order=flip |round=5 Order, rounding
|disp=nocomma Deprecated. Use |comma=off Number format
|disp=u2 Deprecated. Use |disp=unit2 Parts only
|near=5 Deprecated. Use |round=5 Rounding and significant figures
This list: देखीं · talk · edit

Deprecated options should not be used. They may produce incorrect or undesired results and there is no guarantee that they will be supported in the future.

  • abbr=comma is deprecated. Use comma=off instead
  • abbr=mos, setting range separators, is deprecated (not compliant). Use |by| or |x| instead
  • adj=1 is deprecated. No need to deviate from regarding plurals
  • adj=flip is deprecated. Use order=flip instead
  • adj=j is deprecated. No need to use NBSP before full unit name. See MOS
  • adj=nocomma is deprecated. Use comma=off instead
  • disp=2 is deprecated. Use disp=output only instead
  • disp=5 is deprecated. Use round=5 instead
  • disp=flip is deprecated. Use order=flip instead
  • disp=flip5 is deprecated. Use |order=flip |round=5 instead
  • disp=nocomma is deprecated. Use comma=off instead
  • disp=slash, disp=s, disp=/ are deprecated. Use disp=or instead
  • disp=u2 is deprecated. Use disp=unit2 instead
  • near=5 is deprecated. Use round=5 instead
  • sing= is deprecated in any situation. Use adj= instead
  • Range separator |xx| is deprecated (not compliant). Use |x| instead
  • Range separator |*| is deprecated (not compliant). Use |x| instead
  • Range separator |&| is deprecated. Use |and| instead
  • Range separator |to-| is deprecated. Use |to(-)| instead
This is the TemplateData documentation for this template used by VisualEditor and other tools.

TemplateData for Convert

Converts measurements to other units.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
value1

the value to convert

Numberrequired
from unit2

the unit for the provided 'value'

Example
km
Linerequired
to units3

the unit to convert into

Example
mi
Stringsuggested
precision or suffix4

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

Numberoptional
link unitslk

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

Default
off
Example
on
Stringoptional
abbreviationabbr

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

Default
off
Stringoptional
spellingsp

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

Example
us
Stringoptional
adjectiveadj

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

Default
off
Example
on
Booleanoptional
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

Example
b
Stringoptional
orderingorder

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

Example
flip
Stringoptional
significant figuressigfig

number that sets the number of significant figures

Numberoptional
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

Numberoptional
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)

Default
on
Example
off
Stringoptional
sort keysortable

“on” generates a hidden sort key

Example
on
Stringoptional