i think the member index would work for me if i continue using parts of my first attempt…
i’m ok with the first part of my definition… it’s what happens after this part where i’m running into errors and mile long if/then statements…
the first part is:
• with the Value List, i can set the tolerance (4, 8, 16, 32, 64 etc… though generally, it’s either going to be 16 or 32)
• the decimal is multiplied by the tolerance, then rounded, then the modulus gives me how many units of my tolerance value…
• the list at right shows the numerator… so it’s 15/16
, 0/16
, 14/16
, 1/16
, 8/16
, & 13/16
.
what i need it to say is 15/16
, (nothing), 7/8
, 1/16
, 1/2
, 13/16
…or, i’m already able to generate the fraction from the decimal at a specific tolerance… what i was unclear about in the first post is that i’m actually looking for a way to see a fraction in it’s simplest form… 24/32 as 3/4 … 6/16 as 3/8… 5/16 remains 5/16 etc.
so going off your suggestion, i should probably generate a list of all the 16ths… or all the 32nds (or whatever my tolerance happens to be at the time)… then somehow match my value?
i’ll give it a shot a little later… i have to go dig out another car right now.
thanks for the help.
[edit] oh- how are you putting that little note above the groups? i like that.
[edit2] hmm… i suppose i just noticed a problem i’m going to run into if continuing along this path…
Item 1— 30.994
is 0/16, which is correct… however, the resulting value should be 31" but it’s going to give me 30" in this scenario… i’ll have to check for that somehow.