Replies: 1 comment
-
Closed issue #213 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When passing parameters in a JavaScript call Integers and Strings are converted just fine; but Floats aren't.
Why is this so?
Consider this code:
Instead, one has to resort to this:
Is this intended? Am I missing something? (seems like an overkill to me)
Also see my other thread about not being able to call
to_js
to a Float value.Link in "try Ruby Playground"
Beta Was this translation helpful? Give feedback.
All reactions