in reply to Re^2: The Definitive Unit Conversion Script
in thread The Definitive Unit Conversion Script
You don't need to add a conversion factor for what I gave (though supporting such to increase precision is fine). You already handle going from 'f' to 'k' via f=>c then c=>k. It'd be nice (with a name including "Definitive") to also handle conversions between m^3 and ft^3, ft/sec and mi/hour, kg/m^2 and lb/ft^2, etc. using the data you already have in your code (except you don't have 60sec=min, 60min=hr, and ft..mi yet).
- tye
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: The Definitive Unit Conversion Script
by Aristotle (Chancellor) on Dec 13, 2002 at 19:37 UTC | |
by tye (Sage) on Dec 13, 2002 at 20:20 UTC |