In my previous post, the angle is given in radian. If you want to get angle in degree, you can transform it with the following methods. degree=180*radian/PI() or degree=DEG(radian)