We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
floor function will turn a decimal value into smallest and nearest non-decimal value.eg:- floor(45.9)=45; floor(34.1)=34
and Ceiling funtion will turn a decimal value into largest an d nearest non-decimal value.eg:-ceiling(45.1)=46;celing(33.9)=40.
round functions are used for more specific rounding of certain values.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Average Population of Each Continent
You are viewing a single comment's thread. Return to all comments →
floor function will turn a decimal value into smallest and nearest non-decimal value.eg:- floor(45.9)=45; floor(34.1)=34 and Ceiling funtion will turn a decimal value into largest an d nearest non-decimal value.eg:-ceiling(45.1)=46;celing(33.9)=40. round functions are used for more specific rounding of certain values.