How to run a calculation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • akutty
    New Member
    • Mar 2007
    • 2

    How to run a calculation

    I have a small program

    if a*b > c "pay to M" else "pay to a"
    I want to show the amount, I mean how much is paying.
    How to write this script?

    Ahmed Kutty
  • ansumansahu
    New Member
    • Mar 2007
    • 149

    #2
    Originally posted by akutty
    I have a small program

    if a*b > c "pay to M" else "pay to a"
    I want to show the amount, I mean how much is paying.
    How to write this script?

    Ahmed Kutty
    Do you want to display the value of a*b

    thanks
    ansuman sahu

    Comment

    • vijaydiwakar
      Contributor
      • Feb 2007
      • 579

      #3
      Originally posted by akutty
      I have a small program

      if a*b > c "pay to M" else "pay to a"
      I want to show the amount, I mean how much is paying.
      How to write this script?

      Ahmed Kutty
      Dear Ahmed explain ur problem indetail.

      Comment

      • Taftheman
        New Member
        • Nov 2006
        • 93

        #4
        Originally posted by akutty
        I have a small program

        if a*b > c "pay to M" else "pay to a"
        I want to show the amount, I mean how much is paying.
        How to write this script?

        Ahmed Kutty
        Well you seem to know the script it seems
        If A * B > C Then
        M = A * B
        Else
        A = A*B
        End if

        Comment

        Working...