Convert.js

Star

Energy Expressions


Usage
convert.Energy(data, source, target)

Parameters:
Data => Value to be converted
Source => Current unit
Target => Output unit

Source / Target Units:
  • kj => Kilojoules
  • j => Joules
  • mj => Megajoules
  • cal => Calories
  • kcal => Kilocalories

Examples: