Done here and elsewhere, except in one liners, say:
```
val ratio = if (denominator==0) 0 else numerator/denominator
```
Can change those too if you prefer, but it is concise and unlikely that someone by mistakes makes it multi-line without braces.