Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

problem with decimal

Former Member
0 Likes
1,040

Hi Experts,

I have a number 1.000 , our new system taking it as 1000 and looping 1000 times , checked in other systems it takes 1.000 as 1 which is correct. we see other systems system settings seems to be same for all of them.plz advise

Edited by: BrightSide on Mar 23, 2009 12:20 PM

10 REPLIES 10
Read only

Former Member
0 Likes
1,021

Hi,

I think this may be because of the User Settings.

Check the User settings in the following path:

On the Menu:

System>User Profile>Own Data.

On the new window go to the 'Defaults' tab and check the field 'Decimal Notation'.

Compare this in both systems. The new system may be considering ','(comma) as the decimal indicator. In that case change the Decimal setting and then try running the program again.

Regards

Barada

Read only

0 Likes
1,021

Hi there,

Tried that and everything looks same.

Read only

Former Member
0 Likes
1,021

hi:

if you use ecc 6.0, declare the data type like NUMC and move it into it.

Regards

Shashi

Read only

Former Member
0 Likes
1,021

if those setting are fine..can u try writing ur logic using

split at '.' and check

Read only

Former Member
0 Likes
1,021

Hello there,

oourz is 4.6c and this field is numc .

Read only

0 Likes
1,021

In the attributes of your program is the fixed point arithmetic check box checked?

Read only

0 Likes
1,021

yes

Read only

matt
Active Contributor
0 Likes
1,021

On both systems?

Read only

0 Likes
1,021

yes

Read only

Former Member
0 Likes
1,021

Thanks for all your replies..Our basis is rubbish( final answer)