79532492

Date: 2025-03-25 01:22:41
Score: 2
Natty:
Report link

If order_total is a variable, and it's already being calculated correctly, it should work as long as it is available in the scope of your script (for more information on scope see https://www.geeksforgeeks.org/scope-of-a-variable/#). If scope isn't the issue and it still isn't working, it may be a syntactical issue, in which case I'd try removing the curly brackets around order_total.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nathan Sproul