> \advance\mydimenA by 0.5\mydimenB %(if you want it rounded to nearest integer) An old trick when you can only truncate numbers! Thank you! Stefan