Problems using Int as a Real

Why Julia does not do it automatically?