Skip to content

Commit e0bc81b

Browse files
authored
Merge pull request #6260 from GalLalouche/patch-1
Correct formula for decimal
2 parents 241b503 + 89b8e5c commit e0bc81b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ The evaluated result of *expression* determines the return type.
6262
|**smallint**|**int**|
6363
|**int**|**int**|
6464
|**bigint**|**bigint**|
65-
|**decimal** category (p, s)|**decimal(38, min(s,6))**|
65+
|**decimal** category (p, s)|**decimal(38, max(s,6))**|
6666
|**money** and **smallmoney** category|**money**|
6767
|**float** and **real** category|**float**|
6868

0 commit comments

Comments
 (0)