A fraction is written in terms of two parts: the number on top is called the numerator and the number on the bottom is called the denominator. We can use the division method to solve this question. To get a decimal, simply divide the numerator 40 by the denominator 14:
40 (numerator) ÷ 14 (denominator) = 2.86
As a result, you get 2.86 as your answer when you convert 2 12/14 (or 40/14) to a decimal.