Coerce to float first, to try getting round a bug