Thought to mention that but didn’t want to get too complicated… I too was taught to cross check Rwy heading/ Rwy #/ Compass heading just prior to t/o roll… Good trick!!
In my example, if 268 was the heading looking down the centerline, the rwy heading would be 268… The rwy number would be 27 because it gets rounded to the nearest.