ATP production in aerobic respiration

How many ATP molecules are produces from 1 molecule of Glucose?

Because I have learned that 38 ATP molecules are produced from 1 Glucose molecule this was given in NCERT books which are used to prepare for NEET exam but here in pearson and cambridge books it is given 30 - 32 ATP molecules, so what is the correct answer?