Well digital locks are faster to open and they can be used with little to no light in the room, compared reading the dial. But digital locks have a higher replacement rate compared to mechanical locks.
Some of the electronic locks have options that out pace spin dial locks. Things like delay timers, only opening at certain times and days, more than one person to open. Some have auditing and more.
So electronic locks are here to stay and the higher fail rate seems to be out weighed by lower operating costs because customers don't need locksmiths to change combos, most of them change their own pins.
Edit, looks like Winger Ed covered it already.