Cost per mile is irrelevant to me - ebiking is a hobby.
A handful of my journeys would otherwise have been done by car, which gives me a nice warm feeling, but no more than that.
Just as well I'm not bothered because 30/40 miles most weekends won't come to much more than 1,500 miles a year...