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

Function floatStrToIntStr

tidbparser/dependency/types/convert.go:245–300  ·  view source on GitHub ↗

floatStrToIntStr converts a valid float string into valid integer string which can be parsed by strconv.ParseInt, we can't parse float first then convert it to string because precision will be lost.

(validFloat string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

getValidIntPrefixFunction · 0.85

Calls 1

GenByArgsMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…