Safemoon fork first burn problem

Hi all. When i make first burn percent 50% from total supply. But when i transferred burn adress burning only 500.000 pcs token. But i writing 500000000000000.

WHAT CAN BE THE PROBLEM? THANK YOU

Solidity handles numbers differently because tokens have decimals.

If you have 9 decimals, you will need to add 0 zeros to the end of any number because Solidity interprets your Total Supply including the decimals.

This is not just related to safemoon forks, but all token contracts. Keep in mind your decimals.