What I want to do is have a function determine the units of a quantity so that
when I need to call a function that doesn't allow units (such as ln(x)) I can
have my new function strip away the units before the call to ln(x) and then
restore them later.
I realize that in the case of ln(x), units are not too meaningful but there are
other applications, including functions of my own, that would benefit from
being able to remove units, compute stuff and then restore the units.
"Never underestimate the bandwidth of a station wagon filled with tapes
hurtling down the highway."