It does seem that ```round``` is what we want :)
Though if you change that here I would prefer you also change the implementation of the javascript equivalent (in common/MB/utility.js).