Results 1 to 2 of 2

Thread: Sum Of Textbox Values

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2001
    Posts
    5

    Exclamation Sum Of Textbox Values

    ASP QUESTION:????

    How can I manage to control that the sum of the values of four text boxes must be 1?
    They must be decimal numbers ( from 0 to 0.9 ), but when i try to add them to a variable it doesn't work!

    Please help!!!!!!

    Thanks


  2. #2
    Fanatic Member Bonker Gudd's Avatar
    Join Date
    Mar 2000
    Location
    Saturn
    Posts
    748
    Hi, what's the variable defined as? I'd define it as a Decimal and convert all Textboxes to decimal with CDec() when adding.

Posting Permissions

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



Click Here to Expand Forum to Full Width