QCAD Bugtracker

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category QCAD (main)
  • Assigned To
    Andrew
  • Operating System Linux (All / Other)
  • Severity Low
  • Priority Very Low
  • Reported Version 3.7.5
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: QCAD Bugtracker
Opened by Jari Jylhä - 25.12.2014
Last edited by Andrew - 25.12.2014

FS#1149 - Calculate error

If I want to draw circle with poin and raduis and write to radus window formula 4^2, Qcad calculates 4+2 not 4².

Closed by  Andrew
25.12.2014 09:25
Reason for closing:  Not a bug
Admin
Andrew commented on 25.12.2014 09:18
Admin
Andrew commented on 25.12.2014 09:24

BTW: pow(x,y) also works. Also available in the global scope: abs, sin, cos, tan, ceil, floor, max, min, sqrt, log, PI, ...

Jari Jylhä commented on 26.12.2014 04:56

I write "pow(4,2)". Qcad says "pow(4.2) is not a normal number".
I wrote "comma" and Qcad says "point"?!
Is it something to do locales? We use here comma as a decimal point.

Admin
Andrew commented on 26.12.2014 09:25

Unfortunately, if you use a comma as decimal point, this will not work since the expression would be ambiguous.
f(1,2,3) could mean call f with three parameters 1, 2 and 3 or two parameters 1.2 and 3 or two parameters 1 and 2.3.

You can force QCAD to work with a dot as decimal point instead under:
Edit > Application Preferences > General > Coordinate Format

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing