SyntaxFix
Write A Post
Hire A Developer
Questions
Because it's an integer. You need to declare them as floating point numbers or decimals, or cast to such in the calculation.