“Round half up” on floating point values

前端 未结 0 1016
[愿得一人]
[愿得一人] 2021-02-16 00:51

We are stuck with a database that (unfortunately) uses floats instead of decimal values. This makes rounding a bit difficult. Consider the following example (SQL Server T-SQL):<

相关标签:
回答
  • 消灭零回复
提交回复
热议问题