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

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

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