Plej bona libera Unuo- konvertilo
Konverti longon, pezon, temperaturon, volumenon, areon, rapidon, datumojn kaj tempon - tuj, senpage.
Kiel ĝi funkcias
- Elektu kategorion. Choose length, weight, temperature, volume, area, speed, data or time.
- Entajpu la valoron kaj unuojn. Entajpu la kvanton kaj elektu la konverto- unuojn.
- Legi la rezulton. La konvertita valoro aperas tuj, sen rondigaj surprizoj.
Pri tiu ilo
Unit Converter handles the everyday conversions across eight categories: length, weight, temperature, volume, area, speed, data size and time. Choose a category, enter a value, and choose the units to go from and to - metric to imperial or the reverse. The factors are exact where a standard defines them (a inch is exactly 2. 54 cm), and temperature is handled with the proper formulas rather than a single ratio. It runs instantly and stores nothing.
Kion homoj uzas ĝin por
- Konverti mejlojn al kilometroj aŭ funtojn al kilogramoj
- Ŝanĝi recepton inter taso, mililitroj kaj uncoj
- Konverti °F al °C ĝuste (ne per rilatumo)
- Kalkuli dosiergrandecon inter MB, MiB kaj GB
Programisto API
Aŭtomate funkciigu tiun ilon per via propra kodo. Sendu POST-peton al la malsupra fino kaj ricevu la saman rezulton kiel la reta ilo. Ĝi estas limigita laŭ IP kaj ne bezonas aliĝon - API-ŝlosiloj por pli altaj limoj venas.
https://best.free/api/tools/unit-converter/
| Parametroj | Ekzemplo | Necesa | Notoj |
|---|---|---|---|
category |
length |
Jes | length/weight/temperature/volume/area/speed/data/time. |
value |
10 |
Jes | |
from |
mi |
Jes | Source unit (e.g. mi, kg, C). |
to |
km |
Jes | Target unit. |
curl -X POST https://best.free/api/tools/unit-converter/ \
-H 'Content-Type: application/json' \
-d '{"category": "length", "value": 10, "from": "mi", "to": "km"}'
import requests
r = requests.post(
"https://best.free/api/tools/unit-converter/",
json={"category": "length", "value": 10, "from": "mi", "to": "km"},
)
print(r.json())
const r = await fetch("https://best.free/api/tools/unit-converter/", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ category: "length", value: 10, from: "mi", to: "km" }),
});
const data = await r.json();
console.log(data);
Respondo: JSON with the converted value.
{"ok": true, "value": 16.09344, "formatted": "16.0934"}