INVALID EXPRESSIONS

120 views
Skip to first unread message

Chris Bogart

unread,
Oct 26, 2018, 9:42:15 AM10/26/18
to speedcrunch
How come I cannot do a simple percentage calculation?

If I say want do know what 25% of a number is it dose not work

if I input say: 1300*25% I get an invalid expression?

Helder Correia

unread,
Nov 6, 2018, 7:58:48 AM11/6/18
to speed...@googlegroups.com
The % operator was ambiguous and has been discussed since many years. People expected different behaviors from it. Given the nature of this calculator, we decided to remove it altogether in 0.12: https://bitbucket.org/heldercorreia/speedcrunch/issues/583/remove-ambiguous-percentage-operator

You can however use built-in units:

1300 * 25percent

= 325


(percent has the value 1% = 0.01)

Oct 26, 2018, 2:39 PM by krazy...@gmail.com:
How come I cannot do a simple percentage calculation?

If I say want do know what 25% of a number is it dose not work

if I input say: 1300*25% I get an invalid expression?

--
You received this message because you are subscribed to the Google Groups "speedcrunch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to speedcrunch...@googlegroups.com.
To post to this group, send email to speed...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages