Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

round

Name: Anonymous 2007-05-17 11:03 ID:ewt37wAw

Prelude> round 0.5
0
Prelude> round 1.5
2
Prelude> round 2.5
2
Prelude> round 3.5
4


WHAT THE FUCK

Name: Anonymous 2007-05-17 19:16 ID:Heaven

>>11
Disregard that, I suck cocks. I just read about round-to-even for the first time.

But still, if they're using that they should at least document it. The reference manual just describes the round function as "round x returns the nearest integer to x".

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List