General information
Category:
Coding, syntax & commands
Well... The data is coming from a text string like
12' 3 1/4"
and I have to convert that to a number so in my case
val("1/4") won't work...
>>Does anyone have code to convert a fraction to a decimal and from decimal to a fraction?
>>
>>
>>Thanks
>
>You're kidding about that first part, right? <s> I mean to convert any fraction, you just type that fraction, i.e. 1/2, 1/3, 4/5, etc. and it returns the decimal (based on the setting for SET DECIMALS TO.) After all, it's just an expression.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only