Cast a factor to maintain precision on 16 bit systems.