Hi there everyone,
I have made a simple calculator (even though there are a hell lot of validations !!), but i'm basically stuck at two things..
1. The calculator should validate / normalize any inputs such as "0.500" or "0.5000" as "0.5", "0.101010" as "0.10101 (just remove the last zero)"
2. I have tried declaring the values and operations as Long / Double. is that good ? and when the calculations exceed the limit, it bypasses the Maxlength property of Textbox, returns an error "Stack Overflow exception, Make sure you are not Dividing by Zero."
Any ideas ??
P.S: The textbox is not multiline.


Reply With Quote


