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




Contact US

Email:[email protected]

Go Type Casting
10/30