Show Bar with function returning 0

Optuma Forums Optuma Scripting Show Bar with function returning 0

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #65191
    Wenshin
    • Topics: 5
    • Replies: 7
    • Posts: 12

    Whenever function returning 0, my Show Bar script is not displaying the “0” value. Is there a correct way to code it?

    Below is one of those functions:

    ROUND(GPA(HIGH(), MULTSTYLE=Chart Price Unit), DECIMALTYPE=0);

    Thank you very much.

    #65211
    Mathew
    • Topics: 40
    • Replies: 1,958
    • Posts: 1,998

    Hi Wenshin,

    The Show Bar tool will always hide 0’s because 0 also means False in a Boolean result.

    All the best

    Mathew

    #65213
    Wenshin
    • Topics: 5
    • Replies: 7
    • Posts: 12

    Thanks Mathew.

    For functions like GPA() and PVAL(), are the return values always between 0 and 359,  never 360?

    #65215
    Mathew
    • Topics: 40
    • Replies: 1,958
    • Posts: 1,998

    Yes, that’s right.

    1 user thanked author for this post.
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

Pin It on Pinterest