home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula
/
nebula.bin
/
SourceCode
/
Project_2
/
Calculator.m
< prev
next >
Wrap
Text File
|
1993-01-19
|
325b
|
20 lines
/* 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