Expression evaluation

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • zdrakec

    #1

    Expression evaluation

    Hello all:

    Although I have an idea or two about how to do this, I would love some
    input.
    Say I have a numeric value, and I retrieve a string expression
    detailing an operation to perform on this value.
    For example, say I have a float variable containing the value 0.21. Let
    us suppose I have a string expression containing:
    "* 0.50". So, I want now to execute the expression:
    0.21 * 0.50, and obtain the result.

    Any suggestions?
    Thanks much,
    zdrakec

  • Cor Ligthert [MVP]

    #2
    Re: Expression evaluation

    Hi,

    The only thing I know about it is the link
    By Peter Bromberg


    I hope this helps,

    Cor


    Comment

    • Kerry Moorman

      #3
      RE: Expression evaluation

      zdrakec,

      DevX delivers the latest software development news, coding tutorials, and developer resources to help you build better applications.


      Kerry Moorman


      "zdrakec" wrote:
      [color=blue]
      > Hello all:
      >
      > Although I have an idea or two about how to do this, I would love some
      > input.
      > Say I have a numeric value, and I retrieve a string expression
      > detailing an operation to perform on this value.
      > For example, say I have a float variable containing the value 0.21. Let
      > us suppose I have a string expression containing:
      > "* 0.50". So, I want now to execute the expression:
      > 0.21 * 0.50, and obtain the result.
      >
      > Any suggestions?
      > Thanks much,
      > zdrakec
      >
      >[/color]

      Comment

      • zdrakec

        #4
        Re: Expression evaluation

        Thank you very much!

        zdrakec

        Comment

        Working...