1.

Ctype(123.34,integer) - Should It Throw An Error? Why Or Why Not?

Answer»

It WOULD work fine. As the RUNTIME TYPE of 123.34 would be double, and Double can be converted to Integer.

the CTYPE(123.34,integer) will work fine no errors.

It would work fine. As the runtime type of 123.34 would be double, and Double can be converted to Integer.

the ctype(123.34,integer) will work fine no errors.



Discussion

No Comment Found