开发者

float in an object's message

开发者 https://www.devze.com 2023-01-31 22:41 出处:网络
I have an object with a method that should take a float as a parameter, but the value in the object is not correct. Passing an int or dou开发者_如何学JAVAble fixes the problem, but why doesn\'t float

I have an object with a method that should take a float as a parameter, but the value in the object is not correct. Passing an int or dou开发者_如何学JAVAble fixes the problem, but why doesn't float work?


Because you haven't provided a prototype for the method in the scope of the caller.

0

精彩评论

暂无评论...
验证码 换一张
取 消