To A T Meaning

(idiomatic) Precisely; exactly; perfectly; with great attention to detail.

Example:   The announcement of the political endorsement was timed to a T.
1868, Ann Sophia Stephens, Doubly False
  That accounts for my having the dress, but it don't account for the piece that you left sticking to the rose-bush under Mrs. Lander's bed-room winder, which piece I took off that morning, and which piece I matched with the dress after you pitched it at me over them bannisters; it was an awful scragly tear, and it fitted to a T.