+ 1

# How to convert a String containing mathematical expressions into Integer?

For example : String str = "1*3+6%"; How can i convert this? Please help

6 Answers

+ 3

You have to specify the language. Looks like Java?

+ 1

~ swim ~ thanks a lot!

+ 1

Sonic yes it's java

0

Do you want to convert only those numbers from str to int (or) want to solve the mathematical expression

0

Jesus_My_Life I want to solve the mathematical expression using built in java but i don't know how.

0

Coder Kitten but it say that these class will be disabled soon but thanks anyways plus it worksđ