Explain the purpose of Floor and Sign functions?
- Floor- this function is used to round up the values which are non-integer. It is done for the proceeding of least integer values
- Sign- this function is used to determine if the number provided is positive, negative, zero and then returns the value as +1, 0, -1.
BY Best Interview Question ON 17 Oct 2019