Skip to content

Commit 9f6556f

Browse files
authored
Merge pull request #513 from fbsolo/patch-10
Update atn2-transact-sql.md
2 parents e3a3f86 + f52f61e commit 9f6556f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docs/t-sql/functions/atn2-transact-sql.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ ATN2 ( float_expression , float_expression )
4242
```
4343

4444
## Arguments
45-
*float_expression*
46-
Is an [expression](../../t-sql/language-elements/expressions-transact-sql.md) of the **float** data type.
45+
*float_expression*
46+
An [expression](../../t-sql/language-elements/expressions-transact-sql.md) of data type **float**.
4747

4848
## Return types
4949
**float**
@@ -53,14 +53,14 @@ The following example calculates the `ATN2` for the specified `x` and `y` compon
5353

5454
```sql
5555
DECLARE @x float = 35.175643, @y float = 129.44;
56-
SELECT 'The ATN2 of the angle is: ' + CONVERT(varchar,ATN2(@x,@y ));
56+
SELECT 'The ATN2 of the angle is: ' + CONVERT(varchar, ATN2(@y, @x));
5757
GO
5858
```
5959

6060
[!INCLUDE[ssResult](../../includes/ssresult-md.md)]
6161

6262
```sql
63-
The ATN2 of the angle is: 0.265345
63+
The ATN2 of the angle is: 1.30545
6464
(1 row(s) affected)
6565
```
6666

0 commit comments

Comments
 (0)