Added explict casts to float and double, and Floor, Ceiling, Min & Max methods to the Real type