Created
November 27, 2015 08:09
-
-
Save starlightme/d8735fa84d18f76c0a02 to your computer and use it in GitHub Desktop.
Convert string to int in processing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void setup() | |
{ | |
String s = "12"; | |
int i = parseInt(s); | |
println(s+1); | |
println(i+1); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment