This forum is now read-only. Please use our new forums at

Functions, Part I Forum

View Course » View Exercise

653 points
Submitted by
about 4 years ago

Error Message for 1.4 Math Functions I Possible Solution

When I was doing the exercise, I kept getting an error message saying I needed 3 decimal places. The code I typed in would work, but the last number had a ? after the number. The problem is in the original code, at least for mine, there is an extra PHP ?> tag which was causing the error.

Hope this helps some of you.

0 votes


actually there are two exercises in the same program. one for integer rounding and other for decimal point rounding. its confusing as I ran up to solving only one of them. and executing.

131 points
Submitted by
Niranjan Molkeri
about 4 years ago