Any particular reason that eval() does not work here?
-
eval() is not returning a value here.
Does in not work in an inline function or loop?
It works fine in the main code space:
-
What is the end goal?
-
@d-healey I was using "getIntValue()" here, but I decided I wanted to accept decimals as numerator to get beat values such as "1.5/4" as opposed having to use "3/8" when representing dotted note values. It would be more human-readable I think,
-
@VirtualVirgin I'm still not clear, is the goal to turn text into numbers?
-
@d-healey Yes, just trying to turn the string "1.5" into the number 1.5.
-
@VirtualVirgin parseFloat
-
@d-healey Thank you!
That is going on my list.
I'm keeping a list of methods that are not found in the docs. -
@VirtualVirgin parseInt and trace
I think I made a video about undocumented functions (if I didn't I should).