0
create function RoundDec(p1 float, decs int)
returns float
begin
  declare multiplier float;
  set multiplier = power(10, decs);
  return round(p1 * multiplier) / multiplier;
end;

Category: 
SQL Functions & Procedures
Current Version: 
1.00
Supported Products: 
NexusDB V2
NexusDB V3
Home