Friday, April 19, 2024 00:16

Posts Tagged ‘explicit type conversion’

Explicit type conversion

Friday, January 6th, 2017

Explicit type conversion basically means “I know what I am doing, so let me covert this into this, because I know it will work”. It is used whenever there is a possibility of data loss. For instance, when converting from ANY real number type into an integer, there is ALWAYS a loss of data, because integers cannot store fractional parts.… Read more

Casting and type conversion

Friday, January 6th, 2017

Casting and type conversion generally refers to modifying a data type into another data type. In order to perform an operation on two data types, we need to convert both to the same data type. Type conversion if of two kinds: implicit and explicit.Read more

Follow the white rabbit