but the specification of the formats requires integer numbers in milimeters. Why? These definitions are read only by dvips, to decide which definition to apply. It accepts the usual TeX <dimen>s here.