Type compatibility
Type compatibility is very close to automatic or implicit type conversion. The type compatibility is being able to use two types together without modification and being able to subsititute one for the other without modification.
Compatible types are:
int
(and its subtypes likeuint8
,etc) andfloat
.int
(and its subtypes likeuint8
,etc) anddouble
.float
anddouble
Note: strings are not compatible with characters.