mirror of
https://github.com/Horizontal42/summarum.git
synced 2026-11-10 19:11:58 +03:00
Merge 00a225fc22 into bede889ced
This commit is contained in:
commit
397f237f3a
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ export const UNIT_DATA: UnitData[] = [
|
||||||
{ id: "centner", category: "Weight", dimension: "weight", ratio: "100000" },
|
{ id: "centner", category: "Weight", dimension: "weight", ratio: "100000" },
|
||||||
{ id: "ounce", category: "Weight", dimension: "weight", ratio: "28.349523125" },
|
{ id: "ounce", category: "Weight", dimension: "weight", ratio: "28.349523125" },
|
||||||
|
|
||||||
// Temperature (base: kelvin); base = value*ratio + offset
|
// Temperature (base: kelvin). Formula: base equals value times ratio plus offset
|
||||||
{ id: "celsius", category: "Temperature", dimension: "temperature", ratio: "1", offset: "273.15" },
|
{ id: "celsius", category: "Temperature", dimension: "temperature", ratio: "1", offset: "273.15" },
|
||||||
{ id: "fahrenheit", category: "Temperature", dimension: "temperature", ratio: String(5 / 9), offset: String((459.67 * 5) / 9) },
|
{ id: "fahrenheit", category: "Temperature", dimension: "temperature", ratio: String(5 / 9), offset: String((459.67 * 5) / 9) },
|
||||||
{ id: "kelvin", category: "Temperature", dimension: "temperature", ratio: "1" },
|
{ id: "kelvin", category: "Temperature", dimension: "temperature", ratio: "1" },
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue