Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simple math problem
Message
De
16/05/2006 09:33:05
 
 
À
16/05/2006 09:09:11
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01122177
Message ID:
01122210
Vues:
21
>>If x = 123000
>>y= INT( VAL( STRTRAN( STR( x), "0", "")
>>
>>Jeez, Naomi, don't go bursting any blood vessels in your brain thinking on this for more than 3 minutes! :-)
>
>Try this for x = 102.

Yeah, alright, it only works for trailing zeroes, as in N's examples. I wasn't thinking past that :-)
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform