I think I may be having a little trouble returning a float to ASS from a call method.
Does ASS accept both floats and doubles as a returned value and coerce the value to its own implementation of a real.
Is this acceptabel
+(float)returnedNumber{
float f = 1.234;
return f;
}
or is this the method if ASS does not accept floats
+(double)returnedNumber{
float f = 1.234; // this may need to be a float to work with other objective c routines
return f;
}
when passing an ASS real into objective c does the objective c routine have to be a double or float or does it not matter as in:
+(void)inputNumber(float)
or
+(void)inputNumber(double)
or does it not matter
Can someone with the experience please advise on this.
Thanks
Tellboy