fixing getOrdinate to use same internal function as the toString implementation.