Converter - cosmopolitans of the world, unite!
Twitter
Converter: Home Installation Feedback Release notes Examples Premium version

ConvertMyCurrency: Home News
Commercial support for Converter was discontinued; this is now an open-source project. If you're a developer, and you're interested to join this project, please hop over to the project's GitHub repository.
We can check your plugins and stuff

New features

WARNING! Do not convert this page until you've read what you're interested in—most of the explanations will be messed up and they will become very hard to follow!

Version browser
Older version: 0.2.6
Newer version: 0.5.1

New features in Converter 0.5.0

This version's improvements are almost exclusively focused on increasing the number of supported informal formats used for measurements across the web.

In previous versions, the efforts have been concentrated on two directions: (a) bug fixing, and (b) supporting the more rigorously formatted measurements. It has been proven however that not all people use rigorous formats—on the contrary, many use non-standard formats. That is why this version is considered a major release, with dramatic increases in the number of "hits" when converting arbitrary web pages.

Type Feature Example Comment
internal Symbols support spaces 20 ° Celsius This feature alone allows recognizing between 80% and 90% of previously unrecognized formats, as seen in real life on the web.
capability Several formats now support spaces 20 meters per second

Since the new code allows it, many of the previously recognized units are now configured to support their alternate formats which include spaces.

The newly-supported formats are:

  • 10 ° C
  • 10 ° Celsius
  • 10 degree Celsius
  • 10 degrees Celsius
  • 10 degree centigrade
  • 10 degrees centigrade
  • 10 ° F
  • 10 ° Fahrenheit
  • 10 degree Fahrenheit
  • 10 degrees Fahrenheit
  • 10 mile per hour
  • 10 miles per hour
  • 10 kilometer per hour
  • 10 kilometre per hour
  • 10 metre per second
  • 10 metres per second
  • 10 meter per second
  • 10 meters per second
  • All combinations of "Celsius" above, but mis-spelled as "Celcius", are also recognized
  • Additionally, the SI format for liters is now supported, e.g. "10 L"
improvement Improved performance n/a

A significant part of the code as far as CPU time is concerned has been optimized, thus reducing the CPU load spikes which were unnecessarily frequent in previous versions.

Note: in practice, this improvement is probably offset by the extra computations required to parse the large number of new formats and units. However, without this improvement, there would probably have been a significant increase in processing time over the previous versions.

feature Both output and input values contain separators 1000000 kg In old versions of the code, the value in the example would have been converter this way: 1000000 kg (1000000 kg = 2204623 lbs). Starting with this version, it looks like this: 1000000 kg (1,000,000 kg = 2,204,623 lbs)
capability Numbers starting with a decimal period .3 lb

Previous versions of the Converter wouldn't have recognized the value in this example. Starting with the current version, it does.

Note: This might look like a trivial change, but it was quite challenging to implement properly. I feel it was worth it though, due to the relatively large number of sites which use the format.

new formats fl oz <==> ml
  • 13 fl oz
  • 22 ml

The following new formats are supported:

  • 10 fluid ounce
  • 10 fluid ounces
  • 10 fl oz
  • 10 fl. oz.
  • 10 fl. oz
  • 10 fl oz.
  • 10 fluidounce
  • 10 fluidounces
  • 10 ml
  • 10 milliliter
  • 10 milliliters
  • 10 mililiter (mis-spelled)
  • 10 mililiters (mis-spelled)
capability Volume adjuster for Imperial volume units 2,000,000 ml In previous versions, this example would have been converted this way: 2,000,000 ml (2,000,000 ml = 67,627.52 fl oz) (other things being equal); starting with this version, it's converted this way: 2,000,000 ml (2,000,000 ml = 528.34 gal).
improvement Smarter rounding mechanism .00000000000001 ml In previous versions, the value in this example would have been too small to fit in the fixed two-decimal format supported—the result would have been .000001 ml (0.00 ml = 0.00 fl. oz.) (other things being equal); starting with this version, it's converted this way: .000001 ml (0.000001 ml = 0.0000000338 fl oz)
new formats 12 hour format <==> 24 hour format
  • 13:00
  • 1:30 am
This automated conversion is more of a commodity, compared to the other unit conversions which are more useful, given that it's not that difficult to do the conversion in your head. In order to avoid messing up the pages you're converting, this one is the exception to the rule: the original value is not shown in brackets. As such, the result of converting the example values will be 13:00 (1:00 PM); 1:30 am (1:30), instead of 13:00 (13:00 24h = 1:00 PM 12h); 1:30 am (1:30 AM 12h = 1:30 24h).

The following formats are supported:

  • 12:34
  • 12:34 am
  • 12:34 pm
  • 5 am
  • 5 pm

Note: the hh:mm:ss format is not supported at this time.

new format sq. ft. <==> m²
  • 10 sq. ft.
  • 10 m²
The following formats are now supported:
  • 10 square foot
  • 10 square feet
  • 10 square ft
  • 10 sq ft
  • 10 sq. ft
  • 10 sq ft.
  • 10 sq. ft.
  • 10 sq feet
  • 10 sq foot
  • 10 SF
  • 10 foot²
  • 10 feet²
  • 10 ft²
  • 10 ft^2
  • 10 foot^2
  • 10 feet^2
  • 10 square meter
  • 10 square metre
  • 10 square meters
  • 10 square metres
  • 10 m²
  • 10 meter²
  • 10 meters²
  • 10 metre²
  • 10 metres²
  • 10 m^2
  • 10 meter^2
  • 10 metre^2
  • 10 meters^2
  • 10 metres^2
capability Volume adjuster for metric volume units 2,000,000 fl oz In previous versions, this example would have been converted this way: 2,000,000 fl oz (2,000,000 fl oz = 59,147,059 ml) (all other things being equal); starting with this version, it's converted this way: 2,000,000 fl oz (2,000,000 fl oz = 59,147 L).