If the melting item has 75% durability then, if item's result is an even number then the result amount will be -1 For example: A diamond chestplate's default result is 8 diamonds. If the chestplate has 75% durability then you will earn 7 diamonds if you melt it !!!
If the melting item has 25% durability then, you will earn 1 coal