I am using the first thing and my new company is using it in another way.
Double X = 1.99; Double y = 9.02 d; Which is correct and why? And if both are right, how is it used in different circumstances?
From
From:
By default, on the right side of the assignment operator A real numeric verb is considered as a verb double though, if you want an integer number to be considered as repeating, use suffix D or D, for example:
double X = 3D;
double x = 1.99; and double y = 9.02D; There is no difference between
Comments
Post a Comment