double becomes integer

Jules Jacquot jules.jacquot at wanadoo.fr
Sat Jun 25 18:50:25 CDT 2005


hi,ruslan

if i have defined a double value like this

   cotisouv=tblCotisations.field("Assdouv").value

i have 2,40

if i multiply cotisouv by a constant e.g. 3

cotisouv=tblCotisations.field("Assdouv").value*3

i have 6

workarond :

cotisouv=cdbl(tblCotisations.field("Assdouv").getstring)*3

then i have the correct result 7,2

what do you think about ? Bug ?

jules
---------------------------------------------------------------
une longue route commence par un petit pas.

proverbe chinois




More information about the Valentina mailing list