Multiplying statement help needed

Results 1 to 3 of 3

Thread: Multiplying statement help needed

  1. #1
    Jut Guest

    Default Multiplying statement help needed

    Hi everyone,<BR>Can anyone help me out with the example code below. The particular slice is doing what I want but I am trying to use another statement multiplying the results by 100 (x100). Can I do this? I get errors what changing the &#039+&#039 to a &#039x&#039 in the code below.<BR>Thanks in advance.<BR>Jut<BR><BR>&#060;%<BR>If Session("svQuantity")="7" Then<BR> Response.Write(""& Session("svQuantity")+100 &"")<BR> Else<BR> Response.Write("blahblah....")<BR>End If<BR>%&#062;<BR>

  2. #2
    Jut Guest

    Default RE: Multiplying statement help needed

    AHA! I got that one now by using * instead of x. <BR>Now, can anyone tell me if it possible to use a percentage &#039%&#039 sign to atchieve something like:-<BR>&#060;%<BR>If Session("svQuantity")="7" Then<BR>Response.Write(""& Session("svQuantity")*100% &"")<BR>Else<BR>Response.Write("blahblah....")<BR> End If<BR>%&#062;<BR><BR>Or is there a workaround?<BR><BR>Thanks,<BR>Jut

  3. #3
    Sathiya Guest

    Default RE: Multiplying statement help needed

    Why "X" for multiplication i think u should put "*"

Posting Permissions

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