Skip to content
Advertisement

Tag: floating-point

SQL set floating point precision

For a SQL int that is being converted to a float, how do I set the precision of the floating point number? This is the selection I would like to truncate to two or 3 decimal places: Thanks! Answer In TSQL, you can specify two different sizes for float, 24 or 53. This will set the precision to 7 or

Advertisement