sql - Division ( / ) not giving my answer in postgresql - Stack Overflow

PHOTO EMBED

Thu Nov 18 2021 16:35:31 GMT+0000 (Coordinated Universal Time)

Saved by @mvieira

SELECT TRUNC((dev_cost::numeric/sell_cost::numeric),2);
content_copyCOPY

https://stackoverflow.com/questions/34504497/division-not-giving-my-answer-in-postgresql/34504552