oracle number to percentage

Solutions on MaxInterview for oracle number to percentage by the best coders in the world

showing results for - "oracle number to percentage"
Lautaro
26 Oct 2019
1-- Formatted
2SELECT decimal_column * 100 || '%' AS percentage FROM table_name;
3-- Rounded
4SELECT round(decimal_column * 100, 2) || '%' AS percentage FROM table_name;
5-- Value
6SELECT decimal_column * 100 AS percentage FROM table_name;
7SELECT TO_CHAR(decimal_column,'fm990D00','NLS_NUMERIC_CHARACTERS = ''.,''') 
8	FROM dual;