Home » 
        MCQs » 
        SASS MCQs
    
        
    Which Sass function is used to round the given number to the nearest integer?
    
    
    
    35. Which Sass function is used to round the given number to the nearest integer?
    
        - random(number)
 
        - random(0,number)
 
        - randomize(0,number)
 
        - random-number(number)
 
    
    Answer: A) random(number)
    Explanation:
    The random(number) function is used to round the given number to the nearest integer.
    Example:
round(108.20)
Result: 108
round(108.80)
Result: 109