Urgently!! Need help convert number to words using jframe please help me
How will using a jframe help solve the problem?
The conversion method would not require any GUI.
Break the problem up into two parts:
Use the static method of class String:
String valueOf(int i )/String valueOf(double d)/String valueOf(float f)
in java.lang to convert number to words
@tong1 Can you post some demo code that does that. I've never seen it done.
I guess it depends what you mean by "words". I assumed that the OP had a int value of 15 and wanted to get the String: "fifteen"
I am wrong. The method String valueOf(int i ).. I mensioned is to convert number to string stead of words.