This page describes the error and warning messages reported by Module:Convert if a problem is detected while using {{convert}} to convert a value from one unit of measurement to another.
A precision value is entered after the conversion information. For example, |2 gives a result that is rounded to two decimal places, while |-2 rounds to the nearest 100 so that two zeroes occur at the end of the number. This message will only appear if warnings have been enabled.
Generally there is no reason to use a precision of more than a few decimal places, however, larger values may be used. The error shown occurs if the requested precision is higher than the maximum supported by the server.
A negative precision rounds to the nearest 10 (parameter |-1), or nearest 100 (|-2), or nearest 1000 (|-3), etc. A large negative precision produces a zero output.
{{convert|123|m|ft|-2}} → 123 meter (400ft)
{{convert|123|m|ft|-200}} → 123 meter (0ft)
Using a very small input value can cause the default precision to exceed the limit (1.234e-200 is 1.234×10−200). For such very small values, it is better to use the |sigfig= option.
A fraction denominator can be specified to display results with a fraction where appropriate. For example, |frac=8 specifies that the value should be rounded to the nearest eighth, and that a fraction should be included if necessary. A fraction denominator must be a whole number with value 2 or more. This message will only appear if warnings have been enabled.
{{convert|1234|ft|m|sigfig=2.5}} → 1.234 kaki (376,12320000000m)
The number of significant figures in the result can be specified. For example, |sigfig=2 requests two significant figures. The number of significant figures must be a whole number with value 1 or more. This message will only appear if warnings have been enabled.
The option |sortable=on outputs a hidden sort key for use in a sortable table. The option |sortable=out is now the same as |sortable=on, and the latter should be used. See deprecated options for information regarding which options should be used to replace those that are being phased out.
The option |sp=us specifies that US spelling should be used ("meters" instead of "metres"). However, |sp= has no effect as no value is specified. This message will only appear if all warnings have been enabled.
Opsi |abbr=off menandakan bahwa singkatan dinonaktifkan, yaitu nama unit akan digunakan, menggantikan simbol. |abr=off diabaikan karena "abr" bukan sebuah nama opsi. Pesan ini hanya akan muncul jika peringatan diaktifkan.
Each unit code must exactly match a known unit, case sensitive. A simplified list of unit codes is at Help:Convert units, and all available unit codes are here.
It is only possible to convert between units that have the same type. For example, psi and Pa are each of type "pressure" so a psi value can be converted to Pa. However, a psi value cannot be converted to a unit of a different type, such as ha (hectare) which has type "area".
Some units can only be used as outputs. For example "CF" displays a temperature in Celsius and Fahrenheit. Such a unit cannot be used with an input value, because, for example, there is no such temperature as "123CF". Some output combinations are predefined—"CF" is one example, and "mikm" (miles and kilometres) is another. It is also possible to construct an output combination by joining unit codes with "+". However, individual units have to be specified, and an output combination cannot be used.
An unexpected error occurred while attempting to use the Wikidata modules to read property or item information. This error should not occur; the above is a simulation of what would be displayed if, for example, the Wikidata modules were not available, or if they contained an error.
Convert is configured to display any input text without error if a conversion fails, so this error should not occur. The above is a simulation of what would be displayed if convert were configured to show problems when a conversion was not possible.
The following examples use the input parameter. The unit mV is known to convert, but since no useful conversion is possible, there is no output. There is no boxes unit, so the input is displayed as given. The final example follows the same rule because P123. is not a valid property identifier.