Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reading a double from a file
Message
De
01/05/1998 11:28:07
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00096119
Message ID:
00096290
Vues:
16
>Cetin,
>
>Floating point numbers are not stored the same as integers, so no that code won't work.
>
>>Maybe I'm missing something but wouldn't it be something like this :
nValue = 0
>>for ix=1 to nBytes
>>  nValue = nValue + asc(substr(cString,ix))*256^(ix-1)
>>endfor
Cetin
Oooops. You're right. Thanks for warning.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform