Thanks all for comments, for me confusion is that int( some_float_var) works, and surprisingly int( some_float_constant)
does not. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/50e711ce-6e11-43d7-8e7f-46275e141bdb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.