objective c - How to convert currency in the simplest form in Xcode? -


hello have been making simple app regarding currency conversion. made 2 buttons named convert $ , other convert £. after add number in text field how can show conversion in label have created

try this,

double curr = [self.mytxtfield.text doublevalue]; double convcurr = curr*(conversion value); [self.mylbl settext:[@(convcurr) stringvalue]]; 

Comments

Popular posts from this blog

android - Pass an Serializable object in AIDL -

How to provide Authorization & Authentication using Asp.net, C#? -

How to use Authorization & Authentication in Asp.net, C#? -