FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Numeric value to double
Posts: 23
Joined: Sat Oct 22, 2005 08:22 PM
Numeric value to double
Posted: Fri Jan 16, 2015 07:06 PM

Is there a way to convert a standard numeric value to a floating point (double) value in xHarbour?

Best regards,
Klaas den Dekker

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Numeric value to double
Posted: Fri Jan 16, 2015 07:26 PM

Klaas,

This should be enough:

local n := 10

MsgInfo( n * 1.0 )

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 23
Joined: Sat Oct 22, 2005 08:22 PM
Re: Numeric value to double
Posted: Sat Jan 17, 2015 10:43 AM

Thx Antonio, works great!

Continue the discussion