View definition

(*extFloat).ShortestDecimal

Defined in github.com/pquerna/ffjson/fflib/v1/extfloat.go

Description

ShortestDecimal stores in d the shortest decimal representation of f which belongs to the open interval (lower, upper), where f is supposed to lie. It returns false whenever the result is unsure. The implementation uses the Grisu3 algorithm.

ShortestDecimal is referenced in 1 repository

github.com/pquerna/ffjson