Fix Number.toExponential with parameter
authorSimon Hausmann <simon.hausmann@digia.com>
Tue, 29 Apr 2014 15:15:55 +0000 (17:15 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 21 May 2014 14:20:35 +0000 (16:20 +0200)
commit358436f32a4e35091e8b56e32cf639b303665426
treeadaeaf06cb9083b23cec8129186bde5b80862ba3
parenta51822cbf87291de6ba327c38d43583671ee892b
Fix Number.toExponential with parameter

The fractionDigits parameter was unfortunately ignored, due to an accidental
double variable declaration, the latter in a narrower scope shadowing the
former in the correct scope.

Task-number: QTBUG-38577
Change-Id: I28f35466d2d744e84b86a3ca6b3371eb86869b55
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/qml/jsruntime/qv4numberobject.cpp