Skip to content

Commit

Permalink
Fix issue #12452: Conditional routing doesn't work on scale and array…
Browse files Browse the repository at this point in the history
… questions (#783)

See https://bugs.limesurvey.org/view.php?id=12456 for more details
  • Loading branch information
opinioni authored and lacrioque committed Oct 9, 2017
1 parent 8726d3d commit e1122b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/expressions/em_javascript.js
Expand Up @@ -786,7 +786,7 @@ function LEMval(alias)
// If it's not a decimal number, just return value
try {
var decimal_safe = new Decimal(value);
return pad(decimal_safe,value.length);
return Numeric(decimal_safe.valueOf());
}
catch (ex) {
return value;
Expand Down

0 comments on commit e1122b1

Please sign in to comment.