将数字转化为字符串并且拼接上%,例如:
- 数据库原值是1.11,则展示出来是:111.00%
- 数据库原值是0.11,则展示出来是: 11.00%
select TRIM(TO_CHAR(ROUND(1.11 * 100, 2), '99999999990.00')) || '%' FROM SYSIBM.DUAL;
2022-12-03 21:20:37
将数字转化为字符串并且拼接上%,例如:
select TRIM(TO_CHAR(ROUND(1.11 * 100, 2), '99999999990.00')) || '%' FROM SYSIBM.DUAL;