Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hexagesimal
Message
De
25/05/2005 09:46:46
 
 
À
25/05/2005 08:31:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01017471
Message ID:
01017497
Vues:
22
>Hi! from santo domingo.
>
>I need to know how to convert a number to hexagesimal.
>
>please some example would be welcoming!
>
>Thx.
? BIGHEX(05115233740)
? val(BIGHEX(05115233740))*1
? BIGHEX(-1)

* SUPPORT 54 bits only
function BIGHEX(n)
RETURN TRANSFORM(IIF(BETWEEN(-m.n,1,2^32),-1,m.n/2^32),"@R0")+RIGHT(TRANSFORM(m.n,"@R0"),8)
endfunc
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform