It would actually be
9.9999999999999999+7-2 diamond swords-1 carrot
9.9999999999999999+7=16.9999999999999999 (Normal Addition)
16.9999999999999999-(2x2)= 12.9999999999999999 (2 swords have 2 diamonds each = 2 x 2 = 4)
12.9999999999999999-6=6.9999999999999999 (1 carrot = 1 x carrot. carrot has 6 letters, so 1 x 6 = 6.)
So you got a 6.9999999999999999/10.0000000000000000