Function round
Source pub fn round<'a, V, E>(expr: E) -> SQLExpr<'a, V, Double, E::Nullable, Scalar>
Expand description
ROUND - rounds a number to the nearest integer (or specified precision).
Returns Double type, preserves nullability.
§Example
ⓘuse drizzle_core::expr::round;
let rounded = round(users.price);