Go Type Casting

Type casting means conversion of a variable from one data type to another. The value may be lost when large type is converted to a smaller type.

Go Type Conversion Example

Output:

10
6
101
10.123

Next TopicGo Functions




Hot Tutorials

Contact US

Email:jjw.quan@gmail.com

Go Type Casting
10/30