Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Positive / Negative Values

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Positive / Negative Values

    Hello

    I wonder if someone could help. The values I get from an equation in my script can be both positive or negative.

    Is there a command that can treat all my values as positive? For example -5 would be +5 and +3 would still be +3.

    Thanks

    John

    #2
    Originally posted by John833 View Post
    Hello

    I wonder if someone could help. The values I get from an equation in my script can be both positive or negative.

    Is there a command that can treat all my values as positive? For example -5 would be +5 and +3 would still be +3.

    Thanks

    John
    Think it is Math.Abs(number);

    Comment


      #3
      Thank you very much, that's very helpful...

      Regards

      John

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      581 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      336 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      103 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      554 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      552 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X