-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1G
returns '0.06674 mm^3/(kg*s^2)' instead of '1000000000'
#706
Comments
G is the symbol for the gravitational constant, and K for the unit Kelvin. Prefixes should ideally not be used without a unit and uppercase K is not a symbol for kilo. The easiest way to change the interpretation of K and G is to replace the unit and constant with custom variables (e.g. using commands |
Thanks. If I try this I either get "Do you want to overwrite it" question every time I start or need to save it in ~/.local/share/qalculate/definitions so that it then applies to all sessions. Is there a flag to say something like 'temporary' so that the overwrite prompt isn't used? I tried |
The simplest variant is |
Is there a way to make it silent, so 1000 and 1000000000 are not output ? |
I tried passing in 'K=1000;1' as an argument and get |
…re avoided (when reading commands/expression from file or in result only mode), create temporary objects for "variable" and "function" commands, do not ask before replacing object, and fail without question for illegal names; Avoid asking questions when reading commands/expressions from file before interactive mode; Fix line breaks for output from command line expression or file, before interactive mode; Update "exp" option documentation to reflect that custom negative values are allowed; "unkeep" command (reverse of "keep")
Semicolon is used as separator for function argument, vector elements, and matrix rows (in the two first cases this is primarily relevant when comma is used as decimal or digit group separator). If the only purpose of ";1" is to output "1" instead of "1000", I've now made some changes (see commit 6b60732) which should make the Depending on how you use qalc, use of the |
What do I need to change so that 'G' is interpreted as 10^9? Note that
1giga
works.Related, how can I make 'K' (and not 'k') be interpreted as kilo ?
The text was updated successfully, but these errors were encountered: