This commit is contained in:
Andrew Pimenov 2026-10-07 06:56:36 +03:00 • committed by GitHub
commit 397f237f3a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -62,7 +62,7 @@ export const UNIT_DATA: UnitData[] = [
{ id: "centner", category: "Weight", dimension: "weight", ratio: "100000" },
{ 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: "fahrenheit", category: "Temperature", dimension: "temperature", ratio: String(5 / 9), offset: String((459.67 * 5) / 9) },
{ id: "kelvin", category: "Temperature", dimension: "temperature", ratio: "1" },