Bugfix: use round instead of truncate.