On 17/09/13 07:56 -0700, Martín Guzmán wrote:
> Hi all! I'm trying to create an ODS report. On a column, I need to export a 
> number and I don't know why I can't. I created a Report overriding the 
> parse-method. I'm passing the value I want through the data hash. This is 
> working because I'm getting the number but with a " ' " before it, so 
> Libreoffice Calc is using it like a string instead of a number. I tried 
> passing an int, float and Decimal object and nothing seems to work like I 
> want. Is this possible without creating another column to get the value of 
> the string?

Normally if the value set is of type int, float, long or Decimal, it is
stored in ods as a float

https://code.google.com/p/python-relatorio/source/browse/relatorio/templates/opendocument.py#110

I think Decimal was added lately.

-- 
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: [email protected]
Website: http://www.b2ck.com/

Attachment: pgpbTifZCG47Z.pgp
Description: PGP signature

Reply via email to