Added IE7 hack because he cannot handle decimal numbers.