precision()

The precision() function sets precision when displaying a number.

Syntax

precision(expr1, expr2)
Note:
  1. Set precision of number(expr1) decimal part to number(expr2).