March 27, 2012, 05:21 AM
atturhari[CLOSED] Inbulit Data Type for Ratio (10:1)
Is there any WF function/data type that will convert a number into a ratio value.
For instance, can the numeric value like 10 be converted into 10:1 ?
This message has been edited. Last edited by: Kerry, March 27, 2012, 07:01 AM
<JG>Has to be alpha then use concat
EDIT(number 1)||':'||EDIT(number 2);
Use FTOA if you do not want leading zeros
March 27, 2012, 04:31 PM
WazAnother option is to create a define function
March 28, 2012, 06:34 AM
atturhariquote:
Originally posted by Waz:
Another option is to create a define function
Again it has to be converted to Aplha?
I'm using FTOA and able to get comma etc.. It works for me.
March 28, 2012, 04:28 PM
WazWhat wrong with alpha ?
And the define function would make the code relatively simple.