For someone who reads most of his news off the Web, that would be an
incredibly useful software utility.  Something that would grab all incoming
.html text to a web browser, scan for words such as "foot", "feet", "ft",
etc, parse the number immediately before and multiply by 0.305, then  return
the result to the text stream sensibly rounded and followed by the letter
"m".  All completely transparent to the user.

Same with "mile", "yard", "inch", "gallon", "pound", etc.

Nat

> For lack of other things to do, I decided that as I am learning to program
> ASP pages, I might as well try to do something useful. I decided
> to write a
> plain text conversion utility that will take keyed in text in other-units
> and convert them to an internationally acceptable unit (ie, metric).
> I decided not to allow metric to other-unit conversions (as that would not
> be very useful to me ;)
>
> Currently it can handle input like : 5 miles; 4 gallons 6 ounces; etc.
>   (lets see which units I am missing...)
>
> It can handle fractional parts only if you use a plus sign in between the
> whole number and the fractional number (if a whole number exists), like :
> 1/2 gallon; 5+9/16 inches; etc.
>
> I am still working out some bugs, and was hoping that a few of you would
> check it out and let me know what you think. It is a bare-bones
> page at this
> point and I will make it look pretty later.
>
> http://www.rossmania.com/convertunits.asp
>
> Thank you for your time,
>
> Ross DeMeyere
>
> ------------------------------------------------------------
> DeMeyere Design Incorporated
> 1951 McKinley ST NE
> Minneapolis, MN 55418-4816
>
> tel:612.789.2052
> fax:612.789.8028
> mailto:[EMAIL PROTECTED]
> http://www.demeyere.com/
>
>

Reply via email to