Quantcast
Channel: SCN : Popular Discussions - ABAP和Java开发 (ABAP & Java Development)
Viewing all articles
Browse latest Browse all 4604

如何去除小数点后面的0

$
0
0

用例子说话~~~

假如有一个变量,DATA L_QTY TYPE P DECOMALS 4.,如果L_QTY = 1.2345就显示1.2345,但是如果L_QTY = 1.2300,希望能处理成1.23,把后面的两个00去除,放在一个字符变量里面,不知道有没有这样的函数呢~~谢谢~~


Viewing all articles
Browse latest Browse all 4604

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>