If have a small question, I think.
I succesfully used the code from this answer on a certain question: Get DIV content from external Website
It works great. The output I have is for example 9,1. Now I want to make this a percentage, so it should be 91%.
$second_step[0]
gives 9,1.
I used the following code to make it a percentage:
$score = $second_step[0] * 10;
...but this outputs 90 instead of 91.
What I'm doing wrong? It looks like a simple code, but I'm not sure why it outputs 90 instead of 91.
Hopefully someone can help me with this.
Sorry for my bad English :)