Reputation: 353
I have two variables: Double x
and double y
. I would like to assign x's value to y, but obviously there is an "incompatible types" error that is shown in a simple y = x
expression. y = (double) x
does not work properly either. How can I solve this if it's generally possible?
Upvotes: 0
Views: 45