cast icon indicating copy to clipboard operation
cast copied to clipboard

cast.ToInt not parsing float like string

Open gonejack opened this issue 1 year ago • 0 comments

func main() {
	fmt.Println(cast.ToInt64("1685517604534.995117"))
}

result: 0

gonejack avatar May 31 '23 07:05 gonejack