Hi again
cDbl("0.30") ---> 0,02 cDbl("0,30") ---> 0
0,02 !!!!!! where does it come from ?
I don't know... This is my code
.... Dim oCell as Object Dim sVal as String oCell = oCells.getCellByPosition(0, 0) sVal = oCell.string oCell.value = CDbl(sVal) ....
Value on cell is <'0,30>.
by Seva
using comma as decimal seprator opn my laptop (be_FR locale, using fr OOo 1.1.4 under debian)
print cdbl(0.30) --> 0,3 'print cdbl(0,30) --> error 'print cdbl("0.30") --> error print cdbl("0,30") --> O
don't know if it helps
Lauren
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
