[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] Conversion decimal into fractional



I do this sort of thing all the time:

freq = 9/8 * fund;

Easy to read, and closest approximation. I've never had reason to go the
other way.

> You can hardly comment an array with 96 ratios...

But you can do:

[1, 9/8, 3/2, 4/3, 234/233, ...]

S.