ATAN2() function

SELECT ATAN2(8,6); // Output is 0.927295218001612
SELECT ATAN2(0.1,0.3); // Output is 0.321750554396642
SELECT ATAN2(0,0); // Output is 0

Using ROUND() with ATAN2()

SELECT ROUND(ATAN2(5,6),2);// Output is 0.69
SELECT ROUND(ATAN2(-3,-8),2); // Output is -2.78
SELECT ROUND(ATAN2(9,-15),2); // Output is 2.60
Returns arc tangent of X & Y. This is same as ARC Tangent of X/Y
SQL Math References TAN() to get tangent sin()
Subscribe to our YouTube Channel here


* indicates required
Subscribe to plus2net

    Post your comments , suggestion , error , requirements etc here

    SQL Video Tutorials

    We use cookies to improve your browsing experience. . Learn more
    HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
    ©2000-2024 All rights reserved worldwide Privacy Policy Disclaimer