Bob wrote:
[...]
However they'd like to see 1 3/4 inches rather than 1.75 inches .. and
apparently its not possible to make the whole country go metric by the
time we need to roll out.
I don't see why not. After all, we've been talking about it for at
least three decades. You'd think we'd be done by now. :)
I'm wondering if there is *anything* in the .net framework to make
working with and displaying fractions any easier ...
Sure. The System.Math class has methods that can help. Things like
Truncate, Round, etc. if you want, depending on how you might implement
the string formatting yourself.
Assuming the fractions are going to have a consistent denominator, or at
least some small number of consistent denominators, it should be simple
to implement it yourself. The exact implementation will depend on
things like whether you are to always use a specific denominator, if
you're supposed reduce fractions, and whether you're supposed to round
to the nearest fraction. But those shouldn't be too hard to deal with.
But there isn't any built-in string formatting that does fractions, if
that's what you're asking, no.
Pete