HELP..! Variable Addition...

Results 1 to 2 of 2

Thread: HELP..! Variable Addition...

  1. #1
    Join Date
    Dec 1969

    Default HELP..! Variable Addition...

    When I attempt the following...<BR><BR>intpctM19Tot = pctM19A + pctM19B + pctM19C + pctM19D + pctM19E<BR><BR>It produces the following<BR><BR>intpctM19Tot = 5050000<BR><BR>Which it should produce<BR><BR>intpctM19Tot = 100<BR><BR>Can anyone tell me why this is happening...<BR><BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: HELP..! Variable Addition...

    They&#039;re strings, and you&#039;re concatonating them all. Put CInt() or formatNumber() around all of them, take your pick.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts