Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Quiz on Programming
Message
De
01/04/1998 19:25:48
 
 
À
31/03/1998 22:26:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00088587
Message ID:
00088840
Vues:
31
>If you can't use Int(), Round(), Floor(), Ceiling() or
>any similar function to cut off integer.
>
>cAn you write a function equiv. to Round()?
>Of cos, You can use / and % (mod) ^_^;

Almost cheating, its so easy:

func round
lparam innum
outnum = val(str(innum))
return outnum
endfunc
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform