Skip to content

Commit

Permalink
fixed issue with long generating real value
Browse files Browse the repository at this point in the history
  • Loading branch information
lausdahl committed Sep 16, 2024
1 parent 3863531 commit ad798d7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ public Object map(Value v) {
}
case Long: {
var n = ((NumericValue) v);
return n.realValue();// Integer.valueOf(n.intValue()).longValue();
return n.longValue();// Integer.valueOf(n.intValue()).longValue();
}
case Real: {
var n = ((NumericValue) v);
Expand Down

0 comments on commit ad798d7

Please sign in to comment.