mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-07 01:09:32 +01:00
LazReport, HideZeroValues should hide float values too, fix by Velissariou Costas, issue #25934
git-svn-id: trunk@44736 -
This commit is contained in:
parent
a49efad04b
commit
c780ddd0a7
@ -9180,8 +9180,9 @@ begin
|
|||||||
|
|
||||||
if Assigned(CurView) and (CurView.Flags and flHideZeros <> 0) then
|
if Assigned(CurView) and (CurView.Flags and flHideZeros <> 0) then
|
||||||
begin
|
begin
|
||||||
if TVarData(aValue).VType in [varSmallInt, varInteger, varCurrency, varDecimal, varShortInt, varByte, varWord, varLongWord,
|
if TVarData(aValue).VType in [varSmallInt, varInteger, varCurrency,
|
||||||
varInt64, varQWord] then
|
varDecimal, varShortInt, varByte, varWord, varLongWord, varInt64,
|
||||||
|
varQWord, varDouble, varSingle] then
|
||||||
begin
|
begin
|
||||||
if aValue = 0 then
|
if aValue = 0 then
|
||||||
aValue:='';
|
aValue:='';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user