Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Adding Value to Variable

    Good afternoon,

    What is the code for adding 0.01 to only the zero values of a variable?

    Best,
    Tess

  • #2
    Sort of like "add 0.01 if variableX equals 0." So none of the non-zero values would change.

    Comment


    • #3

      Code:
      replace x = 0.01 if x == 0
      but this sounds like a fudge of some kind!

      Comment

      Working...
      X