Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 824 Bytes

File metadata and controls

25 lines (16 loc) · 824 Bytes

Temperature Scale Reference

An auditable, dependency-free reference for converting Celsius, Fahrenheit, kelvin, and Rankine values. The project includes:

  • an accessible browser calculator;
  • direct affine formulas and worked checks;
  • a small reusable JavaScript conversion module;
  • reference and round-trip tests;
  • notes about temperature intervals, absolute zero, notation, and precision.

Run the checks

npm test

Open index.html in a browser to use the calculator. For more scales and localized definitions, see the UnitConv temperature converter.

Method

Every input is first mapped to kelvin, then mapped from kelvin to the requested scale. This keeps the offset and scale logic in one place and makes inverse checks straightforward.

License

MIT