Oracle Floor Vs Trunc

This oracle tutorial explains how to use the oracle plsql floor function with syntax and examples.
Oracle floor vs trunc. Round returns n rounded to i places to the right of the decimal point. Consider the following date time value. A truncate a date value using default format. If n2 is omitted then n1 is truncated to 0 places.
Some cases both returns same result. Oracle floor function last update on february 26 2020 08 08 20 utc gmt 8 hours description. Round function used to round the number to the nearest while trunc used to truncate delete the number from some position. If m is omitted n is truncated to 0 places.
Similar to round and trunc are the floor and ceil number functions. The trunc function returns a date value truncated to a specified unit. Conversely the ceil function determines the smallest integer greater than or equal to a particular numeric value. The floor function determines the largest integer less than or equal to a particular numeric value.
In the below syntax it returns n truncated to m decimal places. The trunc number function returns n1 truncated to n2 decimal places. The floor function returns the largest integer value not greater than a number specified as an argument. Sql select trunc 25 67 round 25 67 from dual.
Trunc takes a single numeric argument x and returns a numeric vector containing the integers formed by truncating the values in x toward 0. The oracle plsql floor function returns the largest integer value that is equal to or less than a number. N2 can be negative to truncate make zero n2 digits left of the decimal point. N can be negative to truncate m digits left to the decimal point.