Skip to content

Commit

Permalink
feat(tsl): make FOR support fractional numbers as well!
Browse files Browse the repository at this point in the history
  • Loading branch information
iGoodie committed Sep 13, 2020
1 parent e2799cb commit def87d0
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -75,7 +75,7 @@ private int evaluateIterationCount(EventArguments args) {
return ExpressionEvaluator.fromArgs(expression, args);
});

return Integer.parseInt(iterationCountEvaluated);
return Double.valueOf(iterationCountEvaluated).intValue();
}

}

0 comments on commit def87d0

Please sign in to comment.