I am creating a game on Nokia N97 mini . i am using Pointerpressed( ) to take input and then i want to move my game hero to that specified position. I am using MathFP library for all calculations and finaly when i am using move(int x,int y) function of sprite class to move a my hero sprite then it takes int values to final result is that game hero is not reaching to final destination at which the screen was touched.

sugeest me some way so that my hero can move to any point at which the user touches the screen and hero should move at angles.