Narrowing (of Types),”Changes a value to a data type that might not be able to hold some of the possible values. For example, a fractional value is rounded when it is converted to an integral type

Average Rating
0 out of 5 stars. 0 votes.

Narrowing (of Types),”Changes a value to a data type that might not be able to hold some of the possible values. For example, a fractional value is rounded when it is converted to an integral type

and a numeric type being converted to Boolean is reduced to either True or False.”