LazReport, HideZeroValues should hide float values too, fix by Velissariou Costas, issue #25934

git-svn-id: trunk@44736 -
This commit is contained in:
jesus 2014-04-15 15:44:15 +00:00
parent a49efad04b
commit c780ddd0a7

View File

@ -9180,8 +9180,9 @@ begin
if Assigned(CurView) and (CurView.Flags and flHideZeros <> 0) then
begin
if TVarData(aValue).VType in [varSmallInt, varInteger, varCurrency, varDecimal, varShortInt, varByte, varWord, varLongWord,
varInt64, varQWord] then
if TVarData(aValue).VType in [varSmallInt, varInteger, varCurrency,
varDecimal, varShortInt, varByte, varWord, varLongWord, varInt64,
varQWord, varDouble, varSingle] then
begin
if aValue = 0 then
aValue:='';