We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello, I'm new to Processing and coding in general. Could someone explain to me why double is converted to float the way it is in the following statement,
double c = 1.473974;
float f = (float) c;
instead of using the processing type cast functions? i.e.
float f = float(c);
What's the difference in the two methods? Thanks.