Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 19 Nov 2011, 15:53
iogames's Avatar
iogames iogames is offline
 
Join Date: Jan 2007
Real name: Josh Arcadia
Currency exchange

Hi...

I placed a currency exchange by google to automatically check the exchange rate for the euro, everything works Ok, but I've been struggling to add an operation to the code...


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I get the right exchange, but I need to discount 0.5 cents to the result, to match what TV and Newspapers rate, those 5 cents are banks fees...
in the operation '1' goes for the unit, and '2' for the decimals...

Any ideas? I've tried lots of variants...
__________________
. █│║▌│█│║▌║│█║▌│║║█║
Reply With Quote
  #2  
Old 19 Nov 2011, 22:14
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
Do you want a 0.5 cent discount (half a cent) or 5 cents?

Assuming it's 0.5 cents, I think you want this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #3  
Old 20 Nov 2011, 00:11
LifesGreatestGift's Avatar
LifesGreatestGift LifesGreatestGift is offline
 
Join Date: Jul 2009
Nvm
__________________
If I have helped you, the least you could do is click the button to show your appreciation.
TheSecond.org - Because it is our right!
Reply With Quote
  #4  
Old 20 Nov 2011, 20:21
iogames's Avatar
iogames iogames is offline
 
Join Date: Jan 2007
Real name: Josh Arcadia
Thanks! [it was 0.05 btw]

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Last question, how can add a label/tag lets say:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Thx!
__________________
. █│║▌│█│║▌║│█║▌│║║█║
Reply With Quote
  #5  
Old 20 Nov 2011, 22:26
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
You mean you just want that word to print out after the amount? You could do this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Add-On Releases vBA CMPS Module: Daily Currency Exchange Rates BlackThorn Modification Graveyard 1 25 May 2010 23:42



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 11:51.

Layout Options | Width: Wide Color: