Negative to Positive

Optuma Forums Optuma Scripting Negative to Positive

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #59921
    AvatarSimon
    • Topics: 4
    • Replies: 7
    • Posts: 11

    Hi, I would like all negative values to be converted to positive (positive values to to remain positive) for my combined D1 result below. Can someone please assist so all values are above the zero line?
    eg: if D1 is positive leave as is. If D1 is negative simply remove negative symbol or maybe multiple by -1 etc.
    Thanks

    #59922
    MatthewMatthew
    • Topics: 5
    • Replies: 292
    • Posts: 297

    Hi Simon,

    You can use the ABS() function to wrap around the D1 variable, this will make sure all numbers returned are positives.

    https://help.optuma.com/kb/faq.php?id=1029

    #59923
    AvatarSimon
    • Topics: 4
    • Replies: 7
    • Posts: 11

    Thank you, that did the trick. Is there any way to remove the empty negative area. (losing some valuable screen real estate)?

    #59927
    AvatarSimon
    • Topics: 4
    • Replies: 7
    • Posts: 11

    please disregard last request. Thank you

    #59928
    MatthewMatthew
    • Topics: 5
    • Replies: 292
    • Posts: 297

    If the autoscale is enabled on the scale properties it should auto set the zone to the min / max values in view.  If autoscale is off you will see a padlock icon at the top of the tools scale, clicking it will re-enable autoscale.

    Ex2

    If autoscale is on and there’s empty space, it means there is a tool or value somewhere that is causing the scale to adjust, so it fits into view. (Sometimes this can be an overlaid tool in the same view, even if it is hidden).

    #59929
    AvatarSimon
    • Topics: 4
    • Replies: 7
    • Posts: 11

    yes it was a hidden tool. Thanks again

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.

Pin It on Pinterest

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close