```ruby
if config['Network'] && config['Network']['y_decimal_places'] == 0
  config['Network']['y_decimal_places'] = 1
end
```

is better readable IMHO.
(The same applies to the disk config.)