Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Issue: CAST Double to Char
Message
De
04/01/2005 11:37:08
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Issue: CAST Double to Char
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
00974110
Message ID:
00974110
Vues:
53
I interpret the issue with joy for the new year.

Cast Double to Char is optimal in order to toast to the new year,
but it seems little adapted to make other things.
CLEAR
#define 
CREATE CURSOR casting (fn B)
INSERT INTO casting VALUES (123456789012345)
FOR k=1 TO 50
	INSERT INTO casting VALUES (fn/10)
NEXT 

SCAN
 ? fn,CAST(fn as V(100))
endscan
Expected is : CAST(fn AS V(100)) = TRANSFORM(fn,"@^")

If CAST returned the expected result,
and withed to return the result puts into effect them,
enough to make a
CAST(CAST(fn AS N(X, Y)) AS V(100))
Fabio
Répondre
Fil
Voir

Click here to load this message in the networking platform