The 0 before the decimal point disappeared after the type conversion of the number type in Oracle

I recently encountered a problem when dealing with a type conversion, as shown in the figure:

solution:

select to_char(round(50/342),''fm9999999990.00') || 'KB' from dual;

 

Guess you like

Origin blog.csdn.net/weixin_42228950/article/details/104541103