Bug report #10939
QgsExpression double format
Status: | Closed | ||
---|---|---|---|
Priority: | High | ||
Assignee: | - | ||
Category: | Expressions | ||
Affected QGIS version: | 2.4.0 | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 19295 |
Description
QgsExpression is not able to parse the scientific double format which it produces itself in .expression()
expr = '0.000001' e1 = QgsExpression( expr ) e1.expression() u'1e-06' e2 = QgsExpression( e1.expression() ) e2.expression() u'(no root)'
Related issues
Associated revisions
fix interpretation of numeric constants in scientic notation (fixes #10939)
History
#1 Updated by Matthias Kuhn over 10 years ago
- Category set to Expressions
#2 Updated by Jürgen Fischer about 10 years ago
- Status changed from Open to Closed
Fixed in changeset d833c22b46acee450d6617621c01c156437dcf59.