but for some reason it does not do anything when used in Calculated Field (field name REMAINING), i.e., the number calculated or result is not formatted !!

For instance, if I enter 30000 in Estimated_Cost and 10000 I get the total in 20000 (not 20,000)
While the same command runs successfully in PHPMyAdmin

SELECT FORMAT( ( COALESCE(Estimated_Cost, 0) - COALESCE(Actual_Cost, 0) ), 0)
FROM Network_2022
WHERE Network_2022.id = '%ID%'
Any Clue ?