[Solved] Measure higher voltages with a voltage divider

AlfaOmega:
A capacitor on a ADC input it is a good idea too.. On MAX6126 voltage reference in the datasheet they recommend a pair of capacitors 10uF and 0.1uF on its output.

Don't mix up output and inputs.
The 10µ electrolytic is for decoupling (stabilises the output; catches current spikes). This is not applicable at all for your voltage divider as you have a very stable and minimal load (the ADS input). It will slow down reaction of your voltage divider to a change in the battery (10µF and 100kΩ makes for a 1 second RC time constant).
The 100n ceramic is for filtering of noise and further decoupling. That is to a certain extent applicable to your voltage divider (mostly depending on length of wires and general electric environment), may not be necessary, that's a matter of experimenting. It won't hurt, either.