Non stampa i numeri zero
git-svn-id: svn://10.65.10.50/trunk@1802 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
b3b82d0138
commit
d850474bee
@ -1108,6 +1108,8 @@ bool TForm_number::update()
|
||||
real n(get());
|
||||
n.round(decimals());
|
||||
|
||||
if (!n.is_zero())
|
||||
{
|
||||
if (!picture().blank())
|
||||
{
|
||||
TToken_string delim(4, ','); // Stringa con i due delimitatori
|
||||
@ -1156,6 +1158,7 @@ bool TForm_number::update()
|
||||
else
|
||||
put_paragraph(n.string());
|
||||
}
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user