Apologies for what I expect to be an elementary question, but take into account that it's being asked by an old-school algebraic topologist who, probably to his detriment, has avoided algebraic geometry most of his career.
Here's the simplest case of what I'm looking for. Consider $n$ polynomials $f_1$, $\ldots$, $f_n$ on $\mathbb{C}^n$ and assume that they have an isolated common zero at the origin, but don't assume that the corresponding affine varieties intersect transversely there. There are (at least!) two definitions of the multiplicity of this zero:
Geometric definition: The multiplicity is the dimension over $\mathbb C$ of $\mathscr{O}_0/(f_1,\ldots,f_n)$, where $\mathscr{O}_0 = \mathscr{O}_{0,\mathbb{A}^n}$ is the local ring at the origin.
Topological definition: The functions $f_1$, $\ldots$, $f_n$ define a map $\mathbb{C}^n\to \mathbb{C}^n$. If we look at a small disc around the origin in the source, the boundary sphere does not hit the origin in the target, so its image lies outside a small disc around the origin in the target. Collapsing out the boundary in the source disc and everything outside of the boundary in the target defines a map $S^{2n}\to S^{2n}$ and we take the multiplicity to be the degree of this map.
I'm assuming that it's elementary and well-known that these two definitions agree. What I'm looking for is a reference I can point to so I can use this fact. (I'd also be interested in its proof, as it's currently not entirely obvious to me.)