Hello all,
Is it possible to convert a single variable's datatype several times in code? If so, is it frowned upon? It saves space though so you don't have to use new variables.
Here is an example:
Thanks!Code:float i; //i is float here i=456.79835; i=(int)i; //i changes to integer here