Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

我存在的数据类型是float,比如3.14,但取出来却变成了3,求大神帮忙解决 #45

Open
sevtin opened this issue Mar 2, 2017 · 1 comment

Comments

@sevtin
Copy link

sevtin commented Mar 2, 2017

我存在的数据类型是float,比如3.14,但取出来却变成了3,求大神帮忙解决

@Haley-Wong
Copy link
Owner

你需要做一些改进,在获取到property列表那里的if 判断中添加上对float 的判断,还有find 方法的setValue 那里也有几个if判断,添加上对float 处理就OK了。我希望在使用这个库的人都能看一下具体的实现原理,runtime 是什么使用的,所以才没有包含所有类型的判断。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants