Delivering the best Add-Ons in more than 37 languages.

中文(简体), English, हिन्दी/हिंदी, Español/Castellano, العربية, Русский язык, Français, 中文 (台灣), বাংলা, Bahasa Indonesia, اردو, Português, Deutsch, Bahasa Melayu (بهاس ملايو‎), 日本語 (にほんご), فارسی, Italiano, తెలుగు, Türkçe, ગુજરાતી, Język polski/polszczyzna, Tiếng Việt, ಕನ್ನಡ, Українська мова, ไทย
PHP Scripts / Miscellaneous

Unit converter class

— Add-On to

Subscribe to our feed to stay up to date!

New! Follow us as you want it!

Unit converter class - CodeCanyon Item for Sale


Ad: Bluehost hosting

This class makes unit conversion verry simple. You only have to call one function to convert a value from one unit to another.

It is also verry simple to add your own units to the class using xml.

Currently the class supports following units:
  • Angle
  • Area
  • Data
  • Density
  • Energy
  • Length
  • Pressure
  • Temperature
  • Time
  • Velocity
  • Volume
  • Weight
  • 31-08-2011
    • Light
But I am willing to add any units, just post a comment ;) You can view the documentation online at:

Other components in this categoryAll components of this author
CommentsFrequently asked questions and answers


20 August 11

Last Update:
1 September 11

Compatible Browsers:
IE6, IE7, IE8, IE9, Firefox, Safari, Opera, Chrome

Files Included:
JavaScript JS, HTML, XML, CSS, PHP

Software Version:
PHP 5.x, PHP 5.0 - 5.2, PHP 5.3


eCommerce, eCommerce, All Items, angle, area, conversion, converter, data, density, energy, length, pressure, speed, temperature, time, unit, volume, weight