📅  最后修改于: 2022-03-11 14:56:49.941000             🧑  作者: Mango
floor(x) # rounds to the smallest nearest integer
ceiling(x) # rounds to the largest nearest integer
trunc(x) rounds to the nearest integer in the direction of 0
format(round(x, 2), nsmall = 2)