This forum is now read-only. Please use our new forums! Go to forums

banner
Close banner
0 points
Submitted by Rachel Lopez
about 9 years

4/8 bug?

<?php
$round = round(M_PI); 
print $round;
?>
</p>
<p>
<?php
$round_decimal = round(M_PI, 3);
print $round_decimal;
?>

My code works and it shows up, but i cant proceed to the next exercise because this error message shows up:

Oops, try again. Did you remember to use round() in your code?

I dunno maybe I’m just misreading the question.

Answer 54d6aaf851b8878af9005775

3 votes

Permalink

I copied and pasted that code, and it accepted it for me. Reload the page and try again?

points
Submitted by Samuel Martin
about 9 years

3 comments

MananC07 about 9 years

Ya , IT Works , Samuel Is Correct Try Reloading

Paul Crary about 9 years

I agree with MananC07

JollyJuggler02 over 8 years

Most of the issues can be solved with reload/reset.

Answer 54d699b69113cb321b0058d6

0 votes

Permalink

I couldn’t figure it out also. =Getting me frustrated

points
Submitted by Dalexis Perez
about 9 years

Answer 54d8ea2995e378b0b9009e34

0 votes

Permalink

I found that through out all the lessons there seems to be bugs with indentation or new lines.

play around with your empty spaces, create a new line around where you’re getting the error or delete the indentations and indent again, refresh the page and submit.

points
Submitted by CJ Bradbury
about 9 years

Answer 54ecd92295e378546d00269a

0 votes

Permalink

I think you have to close

(paragraph)
points
Submitted by arnabroy
about 9 years

1 comments

arnabroy about 9 years

Answer 55155c68e39efe99b600303b

0 votes

Permalink

I have copied your code to see if its correct it worked just fine if still does not work make sure you are in chrome… this litterally what i have had to do a lot beacuse php is so buggy if u just copy your code and delete it and then replace it it will work i hope this helps catch u on the flip side

points
Submitted by DarkSoulsLover54
about 9 years

Answer 55244bc386f5525a39000062

0 votes

Permalink

it worked for me

points
Submitted by Paul Crary
about 9 years