CalculatorsLesson 157Free preview
Unit Converter
This lesson is part of Web Developer Tools · All levels
Summary
Unit Converter is a versatile tool for converting values between units in categories such as length, mass, temperature, area, volume, speed, time, and data storage. Most categories use the decimal factor to the base unit, but the temperature requires a special formula because it has a different zero point. Always make sure the categories and units of origin are correct before using the results.
Key points
- Factor conversion: value of x of the origin factor / destination factor
- The basic unit facilitates calculations, for example the meter or kilogram
- Temperature uses formulae, not just a factor of conversion
- Look at the SI unit against imperial and the US unit against UK.
- Round the results as needed and do not overdo it
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.