Unfortunately that’s not how Ibeacons work–they don’t give you precise positioning. Instead, you capture events when you cross into a region. The difference is subtle but important.
This is a really old thread, see the current iBeacon thread below for more information.