It will certainly work on either, but voltmeters, which have several advantages over ammeters have been more highly recommended for decades.
No high amperage wires run through the dashboard with a voltmeter, and best of all, a voltmeter actually shows you the current status of your battery rather than just showing whether it is charging or discharging at the current moment.
A voltmeter can be used for troubleshooting far more effectively than an ammeter.