The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
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... PHP Code:
in the operation '1' goes for the unit, and '2' for the decimals... Any ideas? I've tried lots of variants... |
#2
|
|||
|
|||
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: PHP Code:
|
#3
|
||||
|
||||
Nvm
|
#4
|
||||
|
||||
Thanks! [it was 0.05 btw]
PHP Code:
PHP Code:
|
#5
|
|||
|
|||
You mean you just want that word to print out after the amount? You could do this:
PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|