Back to zzTakeoff Community Channel LogoBug Reports
Fred
2h 44m

[Formula error] Calculated variable when multiplied

Under Review

Hi,


When I multiply the variable, I get different results.


Here is an example of a simple formula:


[variable] * 0.3048


If variable = integer, no error

If variable = calculated number (such as 1+1+1), incorrect result


However, if I check what the variable is, and if it’s a calculated value, it gives me 3 (1+1+1), but if I then multiply the calculated variable, the results are incorrect.


I didn’t used to have this problem in my formulas; I just noticed it by chance.


Thanks

0
Fred 2h 32m

Here are some more examples


Formula: [variable] * 2


Variable = 2; result: 4

Variable = 1 + 1; result: 3

Variable = (1 + 1); result: 4

Lorin Allred zzTakeoff1h 9m

Hey Fred, thanks for reporting. We're digging into this. Could you send some screenshots of your setup? I haven't been able to replicate these results unless I used text mode or "Text With Tags" mode on a custom property.


The math looks like it checks out for your example if you were using Text/Text with Tags:

Variable = 1 + 1

Formula = [variable] * 2

Tag replaced Formula = 1 + 1 * 2

Result = 3

Fred 47m 8s

Maybe its from the dropdown then...


My variables comes from a dropdown menu than i allow editing.

Dropdown mode : Name



Then, no matter where I use these calculated values, the formula will be incorrect.


The dropdown :


Formula (in a child item propreties):

You must be logged in to post replies. If you don't have an account you can signup here.