|
|
|
|
|
by cout
1875 days ago
|
|
I'm trying to remember how we used to store it -- decimalization was 20 years ago this year! I think we had a discriminant for the denominator, so it wasn't a rational type, but we could also easily represent both fractional and decimal prices. We could handle fractions smaller than 1/16, though I don't know if any equities traded at such prices. What you suggest would also be reasonable, but would have had to be rewritten when decimalization happened. |
|