Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BUG: BINTOC's 'S' option and currency value
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01003056
Message ID:
01009847
Vues:
18
>
>CLEAR
>? 0h+BINTOC($0,"8"),0h+BINTOC($0,"8S")
>? "EXPECTED FALSE :",0h+BINTOC($0,"8")==0h+BINTOC($0,"8S")
>* Of course, then the next fire a overflow error
>? CTOBIN(BINTOC($0,"8S"),"YS")
>* and next return a complement value
>? CTOBIN(BINTOC($1,"8S"),"YS")
>
Fabio,

BINTOC() doesn't work with currency according to the documentation. Why do you expect other results?
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform