home *** CD-ROM | disk | FTP | other *** search
-
- /* Generated by Interface Builder */
-
- #import <appkit/Form.h>
- #import "Calculator.h"
-
- @implementation Calculator
-
- - calculate:sender
- {
- float degreesF;
- [inputForm selectTextAt:0];
- degreesF = ( (9.0 * [inputForm floatValueAt:0])/ 5.0) +32.0;
- [outputForm setFloatValue:degreesF at:0];
- return self;
- }
-
-
- @end
-