Convertir volumen
convert-volumeConvierte volumen entre unidades (l, ml, cl, dl, m3, cm3, gal, qt, pt, cup, fl_oz, tbsp, tsp, imp_gal, imp_pt, imp_fl_oz, bbl, ft3, in3). Sin "to" devuelve todas. Cuándo: hay que convertir una cantidad entre unidades con factores de definición exactos. No para: convertir medidas de cocina entre volumen (convert-cooking). Efectos secundarios: ninguno (solo lectura, sin red, sin estado guardado). Determinista: la misma entrada da la misma salida. Límites: entrada JSON de hasta 64 KB, 1 s por llamada, resultado de hasta 1 MB.
EN: Converts volume between units (l, ml, cl, dl, m3, cm3, gal, qt, pt, cup, fl_oz, tbsp, tsp, imp_gal, imp_pt, imp_fl_oz, bbl, ft3, in3). Without "to", every unit is returned. Exact definitional factors; results to 12 significant digits. When: a quantity has to be converted between units with exact definitional factors. Not for: converting kitchen measures between volume (convert-cooking). [EN completo / full EN: inputSchema.description]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Target unit (omit for all) (string; optional; up to 20 chars). | |
| from | Yes | Source unit: l, ml, cl, dl, m3, cm3, gal, qt, pt, cup, fl_oz, tbsp, tsp, imp_gal, imp_pt, imp_fl_oz, bbl, ft3, in3 (string; required; up to 20 chars). | |
| value | Yes | Value to convert (number; required). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| from | No | ||
| value | No | any JSON value | |
| result | No | any JSON value |