Why is this EFS not returning the right value for Math.atan(1). The Arc Tangent for 1 is 45 but I'm getting 0.785398xxxxxxxxx
function main() {
setPriceStudy(true);
var lAngle;
lAngle = Math.atan(1);
drawTextAbsolute(-5,14, lAngle,Color.red,null,Text.BOLD | Text.ONTOP | Text.RELATIVETORIGHT | Text.RELATIVETOTOP, null,11,1 );
}
I really need Math.atan() for one of my EFS
Thank you Very much
Ketoma
function main() {
setPriceStudy(true);
var lAngle;
lAngle = Math.atan(1);
drawTextAbsolute(-5,14, lAngle,Color.red,null,Text.BOLD | Text.ONTOP | Text.RELATIVETORIGHT | Text.RELATIVETOTOP, null,11,1 );
}
I really need Math.atan() for one of my EFS
Thank you Very much
Ketoma
Comment