i want to convert numbers into following pattern
if i input .33
then should produce 1/3
here i am not asking for the exact answer but i just need a good logic to solve this problem.
i want to convert numbers into following pattern
if i input .33
then should produce 1/3
here i am not asking for the exact answer but i just need a good logic to solve this problem.
Greetings,
think of using some general method.
Express this as either a process (pseudo-code) or mathematically. Both approaches will help you generate the logic necessary to turn this into code.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.