🗿 https://goplay.tools/snippet/03cDJow23eU
#Go #Golang #programming #math
@toby3d these are all of type int
So yes 1 / 2 is 0
1.0 / 2.0 is not 0.0
@toby3d these are all of type int
So yes 1 / 2 is 0
1.0 / 2.0 is not 0.0