En Windows 7 Python 3.2, lo siguiente:Math.ceil Posible() fallo
print(int(math.ceil(24/10)))
me da '3' como se esperaba.
En Windows Server con Active Python 2.5, me da '2'.
¿Cuál es el problema aquí y cómo puedo solucionarlo?
Aquí está mi código original:
number_of_pages = int(math.ceil(number_of_rows/number_of_rows_per_page))
Gracias,
Barry
Supongo que esto no es un error en Python, sino en un nivel inferior. – bigblind