DEV Community ๐Ÿ‘ฉโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป

Discussion on: Testing in Go: testing floating point numbers

Collapse
bgadrian profile image
Adrian B.G.

Definitely, but your post made me curious how that function works, I used it but never saw its implementation.

Now I'm curious what is the most optimal way in Go to do it, to compare the first X decimals in a float, in Go, so your post worked! it made me a better dev.

Thread Thread
juliaferraioli profile image
julia ferraioli Author

๐ŸŽ‰