Open
Description
Context: https://go.dev/tour/basics/13
"The expression T(v) converts the value v to the type T."
The above statement wrongly interprets the expression.
should'nt it be meant more as if
var a float64 = 5.3;
var b int32=int32(a);
now here the value of "a" does not change to int32 instead the assigned variable b gets the change in datatype value of a.
Metadata
Metadata
Assignees
Labels
No labels