We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 734aa0c commit 51986a2Copy full SHA for 51986a2
mssql/ddl/func-calculate-weights.sql
@@ -18,7 +18,7 @@ BEGIN
18
GROUP BY mid1, mid2
19
) tmp
20
RETURN CASE
21
- WHEN (ROUND(40 - SQRT(@score))) > 1
+ WHEN (ROUND(40 - SQRT(@score), 0)) > 1
22
THEN @score
23
ELSE 0
24
END
0 commit comments