summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlzhang2011-12-14 00:00:05 (EST)
committer mwu2011-12-14 00:00:05 (EST)
commitb14fa2900d77f7a072474a9b4aa8db573cf23cba (patch)
tree27bc220c733dbe8584dec7d12d6f6e8d2b984137
parent8fbe0b7c2e637f0ff4c402d5fe27932ca2c181df (diff)
downloadorg.eclipse.birt-b14fa2900d77f7a072474a9b4aa8db573cf23cba.zip
org.eclipse.birt-b14fa2900d77f7a072474a9b4aa8db573cf23cba.tar.gz
org.eclipse.birt-b14fa2900d77f7a072474a9b4aa8db573cf23cba.tar.bz2
Checkin: Median function lose decimal part in DA totals [45344]
-rw-r--r--data/org.eclipse.birt.data.aggregation/src/org/eclipse/birt/data/aggregation/impl/TotalMedian.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/org.eclipse.birt.data.aggregation/src/org/eclipse/birt/data/aggregation/impl/TotalMedian.java b/data/org.eclipse.birt.data.aggregation/src/org/eclipse/birt/data/aggregation/impl/TotalMedian.java
index 7e0bca5..fedf336 100644
--- a/data/org.eclipse.birt.data.aggregation/src/org/eclipse/birt/data/aggregation/impl/TotalMedian.java
+++ b/data/org.eclipse.birt.data.aggregation/src/org/eclipse/birt/data/aggregation/impl/TotalMedian.java
@@ -58,7 +58,7 @@ public class TotalMedian extends AggrFunction
*/
public int getDataType( )
{
- return DataType.ANY_TYPE;
+ return DataType.DOUBLE_TYPE;
}
/*