I'm getting the targeted monthly searches by the Google Adwords API. The problem is, the response looks like this:
Array (
[KEYWORD_TEXT] => StringAttribute Object (
[value] => zeemeerminpak [AttributeType] => StringAttribute [_parameterMap:Attribute:private] => Array ( [Attribute.Type] => AttributeType ) ) [TARGETED_MONTHLY_SEARCHES] => MonthlySearchVolumeAttribute Object ( [value] => Array ( [0] => MonthlySearchVolume Object ( [year] => 2016 [month] => 3 [count] => 7963946667997179586 ) [1] => MonthlySearchVolume Object ( [year] => 2016 [month] => 2 [count] => 6192852671664926392 ))
... more months ...
[AttributeType] => MonthlySearchVolumeAttribute [_parameterMap:Attribute:private] => Array ( [Attribute.Type] => AttributeType ) ) )As you can see, I get a 64 bit integer (7963946667997179586,6192852671664926392) response. I've to handle this with PHP.
How can I create a decimal from a 64 bit integer with PHP?