Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8372

Re: How to print only the decimal points in crystal reports

$
0
0

If you're not sure about how many decimals there could be, use this code:

 

numbervar x := {number_field};

strreverse(totext(tonumber(strreverse(split(totext(x,6),'.')[2])),'#')); //This takes into account upto 6 decimal places.

 

-Abhilash


Viewing all articles
Browse latest Browse all 8372

Trending Articles



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