Jump to content

Code Troubleshooting

Samdb

I could not find any thread for this so I thought I would create one myself. Simply name the language you are writing in, copy your code and wait for a reply. If the code can be copied into pastebin and the link posted that would allow for a clutter free thread. If you have a solution, please comment on their post. Thanks.

Link to comment
Share on other sites

Link to post
Share on other sites

Basic - The total does not add together the values of the variables, just places them in a sentance.

http://pastebin.com/kmq7FJgc

v1, v2, v3 and v4 are Strings, so when you do "v1 + v2 + v3 + v4" you are actually concatenating Strings. You should parse them to some Number format prior to making this calculation. I'm don't have experience with VB, but I think it's something like Int32.Parse(String).
Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×