Welcome Guest, Not a member yet? Register   Sign In
IDR to USD
#1

[eluser]edidiway[/eluser]
Can Someone give me solution to get USD 1 = IDR xxx

Note :
I dont want convert IDR xxx to USD xx.xx
but I want to get the value of 1 USD = xxx IDR


I want to get the value in realtime value without converting it. because if I use the others web service to convert it, it makes the website run slow because must loop to convert it using web service. so I only want to get the value and divide it myself.

example :

Code:
$USD = get_current_USD('IDR') //return 8615
foreach($array as $row){
echo 'Total Payment : '.round($row->IDR / $USD,2).'<br />';
}

What I want to do is like that..
so Can Someone give any references about "get_current_USD()" function that I seek ?
thanks for help.
#2

[eluser]toopay[/eluser]
Coba lihat disini
#3

[eluser]edidiway[/eluser]
hey thanks. this is quite good and updatable for realtime.. Smile




Theme © iAndrew 2016 - Forum software by © MyBB