Skip to content

Commit

Permalink
Dev: fix LEMfixnum
Browse files Browse the repository at this point in the history
  • Loading branch information
Shnoulle committed Jun 4, 2014
1 parent 6226083 commit fb0664a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions scripts/expressions/em_javascript.js
Expand Up @@ -670,15 +670,13 @@ function LEMval(alias)
*/
function LEMfixnum(value)
{
var newval = String(value);
if (parseFloat(newval) != value) {
return value; // unchanged
}
if (LEMradix===',') {
newval = newval.split('.').join(',');
var newval = String(value);
if (parseFloat(newval) != value) {
return value; // unchanged
}
newval= newval.split('.').join(',');
return newval;
}
return value;
}
Expand Down

0 comments on commit fb0664a

Please sign in to comment.