I'm making a program that will convert decimal inputs (in this case, in
inches) and output a fractional answer. At the moment, I'm only able to
output the fractional answer in three parts: A whole number text box, a
numerator text box, and a denominator text box. I realize that this is
probably the closest I'll get to having fractions displayed in VB, so that's
no big deal. I'm able to simplify most numbers with some code I've written,
but I'm unable to simplify anything that repeats infinitely (i.e.. 1/3). Is
there any way to be able to simplify this?
I can give you the code I've already written if that would help.
Thanks!
inches) and output a fractional answer. At the moment, I'm only able to
output the fractional answer in three parts: A whole number text box, a
numerator text box, and a denominator text box. I realize that this is
probably the closest I'll get to having fractions displayed in VB, so that's
no big deal. I'm able to simplify most numbers with some code I've written,
but I'm unable to simplify anything that repeats infinitely (i.e.. 1/3). Is
there any way to be able to simplify this?
I can give you the code I've already written if that would help.
Thanks!
Comment