coherentkris

Correct Training series documentation

Discussion created by coherentkris on May 29, 2017
Latest reply on May 30, 2017 by TSGal

Module 4 Review Questions:

4. Under what circumstances would Int ( x ), Floor( x ), and Truncate( x ; 0 ) not return the same result?

 

Answer:

4. For any positive number x, all three functions will return the same result. However, if x is a negative number, Floor( x ) is different than Int( x ) and Truncate( x ; 0 ).

 

Should be

4. For any positive number x, all three functions will return the same result. However, if x is a negative decimal where the decimal portion is <> 0, Floor( x ) is different than Int( x ) and Truncate( x ; 0 ).

Outcomes