Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert string 1/4 or 1/2 to numeric
Message
From
19/01/2016 01:21:48
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
17/01/2016 21:22:03
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01629854
Message ID:
01629912
Views:
61
>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]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform