Real constants and functions: Difference between revisions
Content added Content deleted
(→{{header|C++}}: comment) |
|||
Line 1,500: | Line 1,500: | ||
Print Floor(-2.7)=-3, Floor(2.7)=2 |
Print Floor(-2.7)=-3, Floor(2.7)=2 |
||
Print Ceil(-2.7)=-2, Ceil(2.7)=3 |
Print Ceil(-2.7)=-2, Ceil(2.7)=3 |
||
Print round(-2.7, 0)=-3, round(2.7, 0)=3 |
|||
Print round(-2.2, 0)=-2, round(2.2, 0)=2 |
|||
Print Sqrt(4)=2 |
Print Sqrt(4)=2 |
||
} |
} |