round counting spaces giving wrong output
===

hi guys so i have a problem with round, i have a script that calls back a calculation according to currency but if i try to round the number what happens is when it hits a space it stops returning the numbers, but for anything that equals more than a thousand there is a space here's the script:
     

    $amount = urlencode($sum_total);
    $from = urlencode($row->currency);
    $to = urlencode($to_curr);
    $url = "http://www.google.com/ig/calculator?hl=en&q=$amount$from=?$to";
    $ch = curl_init();
    $timeout = 0;
    curl_setopt ($ch, CURLOPT_URL, $url);
    curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_USERAGENT , "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1)");
    curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
    $rawdata = curl_exec($ch);
    curl_close($ch);
    $data = explode('"', $rawdata);
    $data = explode(' ', $data['3']);
    $var = $data['0'];
    $finprice = round($var,2);

so say i have somthing in my database thats £320 and someone wants to rent for 2 days £640
then if they wanted it in canadian dollars it would look like 1 010.62644 CAD without round, but it only returns 1 CAD with round there 
