What is the resolution in 'The Necklace' by Guy de Maupassant?

how to solve the diamond necklace