[↑]
SmileBASIC4 Replica Reference
ATAN
1. Calculate the arc tangent (inverse function of TAN) (from numeric value)

ATAN(NumericValue)

Argument

NumericValue

Numeric value to calculate the angle

Return Value

The calculated angle (in radians)

Example

A=ATAN(1)
2. Calculate the arc tangent (inverse function of TAN) (from XY coordinates)

ATAN(CoordinateY,CoordinateX)

Argument

CoordinateY,X

Coordinate value to calculate the angle

・The direction from the origin is calculated as an angle.
・Pay attention to the order of arguments.

Return Value

The calculated angle (in radians)

Example

A=ATAN(1,1)
About this site
Our site is an unofficial manual site of programming software "SmileBASIC" for NintendoSwitch™.
I acquire the content of the site from the official reference site of the SmileBoom Co.Ltd. that is the development and sales cause of the software in real time (a minimum period of 24 hours update) and display it. For automatic update, contents may become improper.
Please confirm the correct content in an official site.

June 3, 2020
by mim
OK
|