- changed title to Unit conversions
-
assigned issue to
- edited description
Unit conversions
Originally reported on Google Code with ID 397
by adding Unit conversions speedcrunch more useful.
as attached ..
Reported by nemapatho
on 2012-02-05 07:25:31
<hr> * Attachment: 1.png<br>
Comments (5)
-
-
repo owner @polwel Any reason why pull request #18 doesn't include a lot of (non-SI) units, e.g. foot, and instead requires the user to define "foot = 0.3048 meter" beforehand? Or even centimeter.
-
repo owner - marked as enhancement
- changed version to 0.11
- changed milestone to 0.12
-
repo owner - changed status to closed
-
Because I was lazy. Simple as that. Didn't want to look up the numbers :)
It is super straightforward though. Just add them in
Evaluator::initializeBuiltInVariables()
About SI prefixes: I think it is kind an elegant way to have them defined separately, like
mega = 1e6
. I can then write10 mega newton
(agreed; the space looks slightly awkward) and it will just work. I don't see a reason why we should include tons of redundant units like centimeter, milligram. Let the user to this if she'd like to use this notation. - Log in to comment