Hacker News new | ask | show | jobs
by howeman 4403 days ago
Combining a couple ideas, here's a Go solution

http://play.golang.org/p/XnPglbkLW4

1 comments

Could you please explain why this works? How come int(a) produces 2.5?
scroll down to find the underhandedness
Haha thanks, very nice!