04-07-2015, 02:11 PM
With idle hands toying with the virtual calc, namely, trying to remove the units from its value, I did this:
[HOME View]
a:=12_(in);
lname(a); ==> [_in] // Aha, there's the units part!
remove(a,lname(a)); // Isolated the units from var a, (maybe) ==> [_in].
so, naturally, I wondered, would reversing the parameters in the remove() command jettison the units?
remove(lname(a),a); // ==> 12? (exercise left to reader)
Devils workshop closed, idle hands occupied.
[HOME View]
a:=12_(in);
lname(a); ==> [_in] // Aha, there's the units part!
remove(a,lname(a)); // Isolated the units from var a, (maybe) ==> [_in].
so, naturally, I wondered, would reversing the parameters in the remove() command jettison the units?
remove(lname(a),a); // ==> 12? (exercise left to reader)
Devils workshop closed, idle hands occupied.