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

Functions, Part I Forum

View Course » View Exercise

653 points
C2f2cfb46a63698d410de28f589f16ae?s=140&d=retro
Submitted by
awd1963
almost 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

permalink

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
68b42313b02471d9c3eed3f5ae08e046?s=140&d=retro
Submitted by
Niranjan Molkeri
almost 4 years ago