Patch level :10.0
Files correlati : Ricompilazione Demo : [ ] Commento : git-svn-id: svn://10.65.10.50/branches/R_10_00@21788 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
4fe91b4ea5
commit
8dfd41d763
@ -198,10 +198,12 @@ bool TRecordset::save_as_html(const char* path)
|
||||
case _realfld:
|
||||
{
|
||||
get(c).as_string(val);
|
||||
|
||||
if (real::is_real(val))
|
||||
if (val.full() && real::is_real(val))
|
||||
{
|
||||
const real r(val);
|
||||
if (r.is_zero()) //elimina gli '0' dalle celle vuote in excel, rendendo leggibile il file excel
|
||||
val.cut(0);
|
||||
else
|
||||
val = r.stringe();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user