Sizin verdiğinizle ekranda bu çıkıyor;
USD-1.4330
SimpleXMLElement Object
(
[Cube] => SimpleXMLElement Object
(
[Cube] => SimpleXMLElement Object
(
[@attributes] => Array
(
[time] => 2009-08-21
)
[Cube] => Array
(
[0] => SimpleXMLElement Object
(
[@attributes] => Array
(
[currency] => USD
[rate] => 1.4330
)
)
[1] => SimpleXMLElement Object
(
[@attributes] => Array
(
[currency] => JPY
[rate] => 134.19
)
)
[2] => SimpleXMLElement Object
(
[@attributes] => Array
(
[currency] => BGN
[rate] => 1.9558
)
)
[3] => SimpleXMLElement Object
(
[@attributes] => Array
(
[currency] => CZK
[rate] => 25.482
)
)
[4] => SimpleXMLElement Object
(
[@attributes] => Array
(
[currency] => DKK
[rate] => 7.4435
)
)
[5] => SimpleXMLElement Object
(
[@attributes] => Array
(
[currency] => EEK
[rate] => 15.6466
)
)
[6] => SimpleXMLElement Object
(
[@attributes] => Array
(
[currency] => GBP
[rate] => 0.86570
)
)
[7] => SimpleXMLElement Object
(
[@attributes] => Array
(
[currency] => HUF
[rate] => 268.59
)
)
[8] => SimpleXMLElement Object
(
[@attributes] => Array
(
[currency] => LTL
[rate] => 3.4528
)
)
[9] => SimpleXMLElement Object
(
[@attributes] => Array
(
[currency] => LVL
[rate] => 0.6998
)
)
[10] => SimpleXMLElement Object
(
[@attributes] => Array
(
[currency] => PLN
[rate] => 4.1068
)
)
[11] => SimpleXMLElement Object
(
[@attributes] => Array
(
[currency] => RON
[rate] => 4.2240
)
)
[12] => SimpleXMLElement Object
(
[@attributes] => Array
(
[currency] => SEK
[rate] => 10.1432
)
)
[13] => SimpleXMLElement Object
(
[@attributes] => Array
(
[currency] => CHF
[rate] => 1.5160
)
)
[14] => SimpleXMLElement Object
(
[@attributes] => Array
(
[currency] => NOK
[rate] => 8.5550
)
)
[15] => SimpleXMLElement Object
(
[@attributes] => Array
(
[currency] => HRK
[rate] => 7.3083
)
)
[16] => SimpleXMLElement Object
(
[@attributes] => Array
(
[currency] => RUB
[rate] => 45.3900
)
)
[17] => SimpleXMLElement Object
(
[@attributes] => Array
(
[currency] => TRY
[rate] => 2.1324
)
)
[18] => SimpleXMLElement Object
(
[@attributes] => Array
(
[currency] => AUD
[rate] => 1.7197
)
)
[19] => SimpleXMLElement Object
(
[@attributes] => Array
(
[currency] => BRL
[rate] => 2.6289
)
)
[20] => SimpleXMLElement Object
(
[@attributes] => Array
(
[currency] => CAD
[rate] => 1.5541
)
)
[21] => SimpleXMLElement Object
(
[@attributes] => Array
(
[currency] => CNY
[rate] => 9.7891
)
)
[22] => SimpleXMLElement Object
(
[@attributes] => Array
(
[currency] => HKD
[rate] => 11.1074
)
)
[23] => SimpleXMLElement Object
(
[@attributes] => Array
(
[currency] => IDR
[rate] => 14352.49
)
)
[24] => SimpleXMLElement Object
(
[@attributes] => Array
(
[currency] => INR
[rate] => 69.6870
)
)
[25] => SimpleXMLElement Object
(
[@attributes] => Array
(
[currency] => KRW
[rate] => 1788.62
)
)
[26] => SimpleXMLElement Object
(
[@attributes] => Array
(
[currency] => MXN
[rate] => 18.3954
)
)
[27] => SimpleXMLElement Object
(
[@attributes] => Array
(
[currency] => MYR
[rate] => 5.0456
)
)
[28] => SimpleXMLElement Object
(
[@attributes] => Array
(
[currency] => NZD
[rate] => 2.1015
)
)
[29] => SimpleXMLElement Object
(
[@attributes] => Array
(
[currency] => PHP
[rate] => 69.378
)
)
[30] => SimpleXMLElement Object
(
[@attributes] => Array
(
[currency] => SGD
[rate] => 2.0620
)
)
[31] => SimpleXMLElement Object
(
[@attributes] => Array
(
[currency] => THB
[rate] => 48.765
)
)
[32] => SimpleXMLElement Object
(
[@attributes] => Array
(
[currency] => ZAR
[rate] => 11.2261
)
)
)
)
)
)benim istediğim;
1 TL = 1.4899 USD (4 basamak ve usd satış olarak) bu şekilde.