i have got a program to convert a double value to a string.
eg==INPUT= 3.65
OUTPUT=three point six five.
can anyone give the solution.

I guess you missed this on the main forum page:

don't expect quick solutions to your homework. We'll help you get started and exchange algorithm ideas, but only if you show that you're willing to put in effort as well

Member Avatar for coil

You can't convert 3 to 'three' directly. You need to write a method to examine each character and return an appropriate value.

e.g.
if(input is equal to 1)
return [appropriate String]

Then take the returned values and print them.

thankyou coil for the answer

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.