This is from the Real Analysis by Folland:
Let $\nu$ be a signed measure, then we can write the following: $\nu(E)= \int_{E}fd|\nu|$ where $f=\chi_P -\chi_N$ such that $P \cup N$ is a Hahn Decomposition for $X$.
Now, my question is on the LHS we have some constant(ignoring the case that $\nu(E)=+\infty$ or -$\infty$ for now) but on the RHS we have some function $f$ which includes characteristic functions. So how can it be possible, what is the point that I am missing?