“-Weverything” yielding “Comparing floating point with == or != is unsafe”

后端 未结 5 1927
无人及你
无人及你 2020-12-10 00:58

I have a string that I convert to a double like this:

double d = [string doubleValue];

The documentation for doubleValue tells

5条回答
提交回复
热议问题