float->int conversion rounds toward 0. Duh.