How to Turn a Negative ratio into a Positive

Forums ProRealTime English forum ProBuilder support How to Turn a Negative ratio into a Positive

Viewing 6 posts - 1 through 6 (of 6 total)
  • #54087

     

    Fractions have a top number, which is called the numerator, and a bottom number, which is known as the denominator. This combination of numbers represents how a part relates to a whole. If you have a negative number or variable in the denominator of a fraction, the fraction is not in simplest form, according to traditional mathematics. To state the fraction properly, you must take measures to convert the negative value in the denominator to a positive one.

     

     

    #54088
    1
    <strong><em>example if the code return negative ratio how do turn it into a positive</em></strong>

     is a mistake

    real question  “example if the code return negative ratio how do turn it into a positive”

    #54093
    a=open
    b=close
    c  = (ab)
     
    Distance = c * -1
     
     
    RETURN Distance
    1 user thanked author for this post.
    #54098

    Or im guesssing this might work if you do get either a positive or negative C outcome  . 

    #54101

    First code worked very well, second one i guess i will be using it in near future.

    Thank you for your assistance 

    #54118
Viewing 6 posts - 1 through 6 (of 6 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login