Skip to content

Commit 8ca5a2c

Browse files
runekockrwestMSFT
authored andcommitted
Update ceiling-transact-sql.md
Actually observed behavior as of version 15.0.2140. This can give unexpected results, such as in this case: declare @A numeric(38,12) = 7; declare @b numeric(38,12) = 1.5; select ceiling(@A) + @b;
1 parent d0aba95 commit 8ca5a2c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ The return type depends on the input type of *numeric_expression*:
4848
| Input type | Return type |
4949
| --- | --- |
5050
| **float**, **real** | **float** |
51-
| **decimal(*p*, *s*)** | **decimal(38, *s*)** |
51+
| **decimal(*p*, *s*)** | **decimal(*p*, 0)** |
5252
| **int**, **smallint**, **tinyint** | **int** |
5353
| **bigint** | **bigint** |
5454
| **money**, **smallmoney** | **money** |

0 commit comments

Comments
 (0)