I wish to implement this formula from Wikipedia to convert LLA to ECEF coordinates:
and a and b are the semi-major and semi-minor axes respectively.
My question is: what units will this work with? This paper says the equation is in meters. I am wondering if it can be more general than that. Can I use any unit of distance so long as I am consistent?