0
我想在三個不同的文本字段中乘以整數值。整數在文本字段中的乘法 - Xcode 4.4
@property (nonatomic,strong) IBOutlet UITextField *textField;
@property (nonatomic,strong) IBOutlet UITextField *textField2;
@property (nonatomic,strong) IBOutlet UITextField *textField3;
@property (nonatomic,strong) IBOutlet UILabel *total;
我試圖在UILabel中顯示產品。有人可以幫助實施嗎?非常感謝!
應該使用'float'而不是'int's作爲輸入值或答案可能包含小數。 – 2012-08-14 00:17:29
帖子明確表示他們正在尋找乘以整數值。 – BJHStudios 2012-08-14 00:34:13