Quantcast
Viewing all articles
Browse latest Browse all 3668

How to find the system decimal separator in crystal report9.0

Hi all,

 

I am using crystal report 9.0 version.

 

In the data base field "ResultVal" is in nvarchar datatype. Data value of ResultVal column some of having numerical results and some of the Alpha numeric data and some of having only alpha data.

 

Now, I wanted to display the "Resultval" field in crystal report and If "ResultVal" field contains only numeric(with decimal), then decimal separator should be printed as per system decimal separator.

 

Example Data:

 

ResultValOutput in report, if decimal separator is ","Output in report, if decimal separator is "."
12.1512,1512.15
12.9612,9612.96
15.7715,7715.77
AK78AK78AK78
OR001OR001OR001
RESRESRES
99.0199,0199.01
14.0314,0314.03
15,9615,9615.96
10,0010,00

10.00

 

 

How to update the decimal separator in system:

 

Control panel >> Region and language >> formats TAB >>  Click Additional settings >> Decimal sysmbol >> Enter  ","

 

Please help me how to resolve the problem.

 

Thanks in advance..

 

Sankar


Viewing all articles
Browse latest Browse all 3668

Trending Articles



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