Doc work

Improved appearance of documentation
Yes, it forcible casts everything to int.  floats get cast via truncation towards 0.