Skip to content

Instantly share code, notes, and snippets.

@starlightme
Created November 27, 2015 08:09
Show Gist options
  • Save starlightme/d8735fa84d18f76c0a02 to your computer and use it in GitHub Desktop.
Save starlightme/d8735fa84d18f76c0a02 to your computer and use it in GitHub Desktop.
Convert string to int in processing
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