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:
luca 2011-03-15 09:12:23 +00:00
parent 4fe91b4ea5
commit 8dfd41d763

View File

@ -198,11 +198,13 @@ bool TRecordset::save_as_html(const char* path)
case _realfld: case _realfld:
{ {
get(c).as_string(val); get(c).as_string(val);
if (val.full() && real::is_real(val))
if (real::is_real(val))
{ {
const real r(val); const real r(val);
val = r.stringe(); if (r.is_zero()) //elimina gli '0' dalle celle vuote in excel, rendendo leggibile il file excel
val.cut(0);
else
val = r.stringe();
} }
} }
break; break;