We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da17976 commit 9e92ed9Copy full SHA for 9e92ed9
1 file changed
src/Metadata/META_AVOID_FLOAT.json
@@ -0,0 +1,10 @@
1
+{
2
+ "ID": "META_AVOID_FLOAT",
3
+ "Name": "Do not use floating point data types",
4
+ "Category": "Metadata",
5
+ "Description": "Floating point datatypes can cause unexpected results when evaluating values close to 0. Use Decimal instead.",
6
+ "Severity": 3,
7
+ "Scope": "Measure, DataColumn, CalculatedColumn, CalculatedTableColumn",
8
+ "Expression": "DataType = \"Double\"",
9
+ "FixExpression": "DataType = DataType.Decimal"
10
+}
0 commit comments