Skip to content

Commit 8a0608a

Browse files
authored
Merge pull request #6870 from renjieliu/patch-1
Update float-and-real-transact-sql.md
2 parents 341568b + ee87b1e commit 8a0608a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/t-sql/data-types/float-and-real-transact-sql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Values of **float** are truncated when they are converted to any integer type.
6262

6363
When you want to convert from **float** or **real** to character data, using the STR string function is usually more useful than CAST( ). This is because STR enables more control over formatting. For more information, see [STR (Transact-SQL)](../../t-sql/functions/str-transact-sql.md) and [Functions (Transact-SQL)](../../t-sql/functions/functions.md).
6464

65-
Prior to [!INCLUDE[ssSQL16](../../includes/sssql16-md.md)], conversion of **float** values to **decimal** or **numeric** is restricted to values of precision 17 digits only. Any **float** value less than 5E-18 (when set using either the scientific notation of 5E-18 or the decimal notation of 0.0000000000000000050000000000000005) rounds down to 0. This is no longer a restriction as of [!INCLUDE[ssSQL16](../../includes/sssql16-md.md)].
65+
Prior to [!INCLUDE[ssSQL16](../../includes/sssql16-md.md)], conversion of **float** values to **decimal** or **numeric** is restricted to values of precision 17 digits only. Any **float** value less than 5E-18 (when set using either the scientific notation of 5E-18 or the decimal notation of 0.000000000000000005) rounds down to 0. This is no longer a restriction as of [!INCLUDE[ssSQL16](../../includes/sssql16-md.md)].
6666

6767
## See also
6868
[ALTER TABLE (Transact-SQL)](../../t-sql/statements/alter-table-transact-sql.md)

0 commit comments

Comments
 (0)