How can one change an unsigned long number in Objective-C in a float?
It is similar to typewriting, typewriting typecasting, converting one data type into another.
unsigned long myLong = 5; Float Marieflot = (Float) My Long;
(float) myFloat key goes to the datatype (i.e. float, int) in parentheses and you are typcasting directly after the variable.
There is further information.
Comments
Post a Comment