2012年2月19日 - Rounding DOwn to nearest whole number… am i cheating or is this more than ... Math.round(x - 0.5) also rounds towards negative infinity.
stackoverflow.com