This should be:

```objc
_similarity = delta->similarity / 100.0;
```

Otherwise, the quotient will be truncated before the conversion to `double`.