Fix duration precision from Float to Int