All you need to do is divide this quantity written in terms of inches by a 2.54 conversion factorial
Say you need to convert a total of 786.7 cm to inches. Here, you will get the result as: 309.72440944882