gomodule/redigo

automatic conversion to scientific notation when inserting large floating point numbers

shumin1027 opened this issue · 1 comments

It will automatic conversion to scientific notation when inserting large floating point numbers

return c.writeBytes(strconv.AppendFloat(c.numScratch[:0], n, 'g', -1, 64))

I don't think this is particularly reasonable, and it will cause a lot of trouble when using it

This can cause problems when querying with RediSearch

Could you clarify what problem you're referring to?

An example would be great.

To be clear this could be hard to change as it could be seen as a API breaking change to alter the storage format.