Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Converting a String to a Double
Message
De
20/10/1998 21:20:01
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00148663
Message ID:
00148737
Vues:
30
VFP has no Double var type, try using numeric instead.


>I am converting a VB interface to a DLL to a VFP interface.
>
>I have a VB type def:
>
>Type AL_GRAIN
> grain_id As Integer
> grain_name As String * 32
> lbs_per_bu As Integer
> dry_mc As Double
> spare(0 To 15) As Byte
>End Type
>
>and a function declaration:
>
>Declare Function get_al_grain Lib "aglead32.dll" (ByVal c As Long, _
> ByVal n As Long, _
> ByRef g As AL_GRAIN) As Long
>
>I can get AL_GRAIN into a string but,
>
>Can anyone tell me how to convert the dry_mc to a Double in VFP?
>
>Thanks.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform