Skip to main content

numeric

Function numeric 

Source
pub fn numeric(value: Decimal, precision: u8, scale: u8) -> Numeric
Expand description

Create a decimal/numeric parameter with explicit precision and scale.

Required when binding to an Always Encrypted decimal column, whose declared decimal(precision, scale) must match the column exactly. The value is rescaled to scale.