Page 1 of 1

Numeric value to double

Posted: Fri Jan 16, 2015 7:06 pm
by Klaas den Dekker
Is there a way to convert a standard numeric value to a floating point (double) value in xHarbour?

Best regards,
Klaas den Dekker

Re: Numeric value to double

Posted: Fri Jan 16, 2015 7:26 pm
by Antonio Linares
Klaas,

This should be enough:

local n := 10

MsgInfo( n * 1.0 )

Re: Numeric value to double

Posted: Sat Jan 17, 2015 10:43 am
by Klaas den Dekker
Thx Antonio, works great!