home *** CD-ROM | disk | FTP | other *** search
- /*
- You may freely copy, distribute, and reuse the code in this example.
- NeXT disclaims any warranty of any kind, expressed or implied, as to its
- fitness for any particular use.
- */
-
- #import "Converter.h"
-
- @implementation Converter
-
- - (float)convertAmount:(float)amount byRate:(float)rate
- {
- return (amount * rate);
- }
-
- @end
-