Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a FoxPro equivalent of T-SQL CONVERT() ?
Message
 
 
À
08/10/2002 17:00:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00708750
Message ID:
00709084
Vues:
16
>>Unfortunatelly, there's no such function in VFP. So you'll have to do something like
select (0000000.00 + int1/int2) as myFloat ;
>>          from ... ;
>>          into table tempTable
>
>Interestingly enough the same works in SQL Server, you don't necessarily need the CONVERT() function.
>
>Just an observation.

Even so, I would still use CONVERT()/CAST() functions because they give predictable result.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform