The possibilities are endless for the types of values that can be converted from one form to another. Script 17.11 shows just one example: how to convert kilometers to miles.
Script 17.11. You can create bookmarklets for almost any kind of unit conversion. This script converts kilometers to miles.
To convert kilometers to miles: