Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert string 1/4 or 1/2 to numeric
Message
De
19/01/2016 01:21:48
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
17/01/2016 21:22:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01629854
Message ID:
01629912
Vues:
56
>How would you reverse that, Thomas?
>e.g. convert .25 to "1/4"

Thats a pain, if it needs to work for any given number. In special if you need it reduced.

I had this problems with distances, but they where all in fractions to the power of 2, so it was relative simple. I can borrow you this ancient code, if you like.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform