Hi Sage,

You can divide the value by 1000000 before printing the html. Also, php has 
pretty good support <http://php.net/manual/en/function.str-getcsv.php> for 
parsing csv.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Sunday, September 28, 2014 12:58:25 PM UTC-4, Sage Lewis wrote:
>
> I'm successfully creating a csv file for my report and displaying it in 
> html format with this code:
> <?php
> echo "<table>\n\n";
> $f = fopen("report.csv", "r");
> while (($line = fgetcsv($f)) !== false) {
>         echo "<tr>";
>         foreach ($line as $cell) {
>                 echo "<td>" . htmlspecialchars($cell) . "</td>";
>         }
>         echo "</tr>\n";
> }
> fclose($f);
> echo "\n</table></body></html>";
> ?>
>
> The issue I'm running into is: 'returnMoneyInMicros'. 
>
> All my monetary data is displaying in microformats.
>
> Do you think there is any way I can solve this by simply converting my csv 
> file to html. Or do you think I'm going to need to pull the data into 
> something like mysql and parse it there?
>
> Thanks!
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3e8d4415-ee6d-4ed7-b80a-edd62d067c77%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to