I do contract work for a living, which could include writing a program such as this. However, I don’t do people’s homework for them. That just robs them of an education.
You have my full permission to implement this project any way you please.
| Method | Purpose |
|---|---|
| String CVT.toString(int) | convert an int to a String |
| int CVT.toint(String) | convert a String to an int |
| String CVT.toString(Integer) | convert an Integer to a String |
| int CVT.toInteger(String) | convert a String to an Integer |
The conversion amanuensis has already done most of the work for you cataloging how you convert anything to anything. You simply have to modify its test driver to emit the source code for the CVT class. Bill Wilkinson posted some code similar to my proposed CVT class a year or so ago.
![]() |
and suggestions to improve this page to Roedy Green : | ||
| Canadian Mind Products | |||
| mindprod.com IP:[65.110.21.43] | |||
| Your face IP:[38.103.63.18] | ![]() | ||
| You are visitor number 3,699. | |||
| You can get a fresh copy of this page from: | or possibly from your local J: drive (Java virtual drive/Mindprod website mirror) | ||
| http://mindprod.com/project/converter.html | J:\mindprod\project\converter.html | ||