hello everybody;
i have a problem, i want to convert a string which is an Equation to double, in order to use each part which is seprate by + or - ;
how can i do that?
thanks a lot for your helps.
kamran.j
0
Newbie Poster
Recommended Answers
Jump to PostWell you could parshe the entire string, find out where the delimitters are, then split them.
Perhaps you have some round/square/curly brackets as well, so you'll need to take that into consideration too.
For tokenizing: Click Here
Converting to double: Click Here
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.