I am receiving my data as symbols and then I convert them to floats using maxobjects. However, I woud like to do this conversion already in the mxj object itself. How should I do that?
When writing this in my public class I get errors. The compiler wants to see an identifier after the parentheses
< static final float parseFloat(LAST_TRADE) = 52; >
No, you call it, not declare it:
float foo = Float.parseFloat("12346.789");
Log in to reply
C74 IN YOUR INBOX
C74 RSS Feed | © Copyright Cycling '74 | Terms & Conditions
Let us tell you about notable Max projects, obscure facts, and creative media artists of all kinds.