| |
yogai
Posts: 1
Score: 0
Joined: 9/7/2004
From:
Status: offline
|
There is a project at my school that i am doing. this requires you to write a program that when the user types a fraction in the form of n/d it changes that to a deciaml. Also, if the decimal is repeating, it is displayed in brackets, example: 1/3 = .(3) how do you get an input box to recognize n/d as two separate values and how do you get the script to put a repeating decimal in the above form?
|
|