To write .2777 as a fraction you have to write .2777 as numerator and put 1 as the denominator. Now you multiply numerator and denominator by 10 as long as you get in numerator the whole number.
.2777 = .2777/1 = 2.777/10 = 27.77/100 = 277.7/1000 = 2777/10000
And finally we have:
.2777 as a fraction equals 2777/10000