Change to use double and cast.