Numeric value to double

Post Reply
Klaas den Dekker
Posts: 23
Joined: Sat Oct 22, 2005 8:22 pm

Numeric value to double

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Numeric value to double

Post by Antonio Linares »

Klaas,

This should be enough:

local n := 10

MsgInfo( n * 1.0 )
regards, saludos

Antonio Linares
www.fivetechsoft.com
Klaas den Dekker
Posts: 23
Joined: Sat Oct 22, 2005 8:22 pm

Re: Numeric value to double

Post by Klaas den Dekker »

Thx Antonio, works great!
Post Reply