Comments

1 comment

  • Rainer Grabowski

    Hi Isabelle,

    0.6 is not below 0, it's >  0  - and cause 0.6 is neither  <  0 nor > 1 the code returns nothing. 

    var  result1 = @Com People;
    var result2 = @Net Presta people SANS pret;
    var pLp = @% pour le people;
    pLp > 0 ? result2 : result1

    This returns result2 if pLp > 0, if < 0 it returns result1. 
    What should it return if pLp == 0? 

    Rainer 

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk