That is because my code doesn't do what you want.
I stated the equation that my code calculates and you said that the calculation wasn't what you want. So it's not really a surprise that my code gives results that are different from what you want. Maybe you should restate what you want, and also what my code does, so somebody willing to hold your hand can then change my code for you to solve your homework.
In reply to Re: regex and string functions help needed.
by Corion
in thread regex and string functions help needed.
by valavanp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |