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

Integer divided by 10

Former Member
0 Likes
596

Hi,

I'm reading from a COM port, in this case the datatype is integer.

My question is that the value I get from the port is divided by 10 and, It shouldn't be divided.

I checked the windows xp setting (in the regional setting) related to numbers and the decimal separator and everything seem to be fine.

At this moment I don't know what more I can chek. Can anybody help me?

Thanks a lot.

Regards.

2 REPLIES 2
Read only

Former Member
0 Likes
559

Can you try reading it into a string instead, and see what you get?  Also,  can you show a snippet of the code?

Neal

Read only

sahai
Contributor
0 Likes
559

can you please specify more... as in what exactly is the problem and what solution are you expecting