MCPcopy Create free account
hub / github.com/blastrain/vitess-sqlparser / Round

Function Round

tidbparser/dependency/types/helper.go:40–47  ·  view source on GitHub ↗

Round rounds the argument f to dec decimal places. dec defaults to 0 if not specified. dec can be negative to cause dec digits left of the decimal point of the value f to become zero.

(f float64, dec int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TruncateFloatFunction · 0.85

Calls 1

RoundFloatFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…