I'm trying to add a percentage of the value to it, but I could not do it.
<?php
$data = json_decode(file_get_contents("https://broker.negociecoins.com.br/api/v3/btcbrl/ticker"));
echo "<pre>";
print_r($data->sell);
echo "</pre>"; ?>
I have this JSON which returns me a value and I would like to add for example + 30% in that value before displaying it, but anyway I tried does not work, does anyone have an idea?