Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

unable to coerce <type 'sage.rings.real_mpfi.realintervalfieldelement'=""> to an integer

I am very desperate. I just want to convert a real number to an integer. I have tried int(x), Integer(x), floor(x), ceil(x) but nothing seems to work.