I'm still allowed to use TYPEs, aren't I? Haha.
Naw, the reason you know its a scalar thing is CalculatePotential returns one number, not two. Feel me on that? (Using concepts other than electricity, temperature is one number, so scalar. Wind is more than one number, so vector.)