Application Development 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: 

problem with int4 data type

Former Member
0 Kudos
1,699

hi,

while i am creating table i used int4 data type ,but after i enter the values it is taking the decimal places,so why it is comming decimal palces i dont know,can any body have the idea pls let me know.

4 REPLIES 4

Former Member
470

hi rammohan.....

i tried to do the same...

but the record is not inserted inti the database if u give a decimal point......

Just check it once......

Reward points if useful......

Suresh......

Former Member
0 Kudos
470

the int4 data type is mapped in the following way with the work bench is

it takes 4 hexa decimal bytes to store that in programming environment.

INT4: 4-byte integer between -2147483647 bis 2147483647. The length is set to 10 places for this data type.

Former Member
0 Kudos
470

Hi Rammohan,

<b>1st possiblity:</b>

May be there exists a CONVERSION ROUTINE( unfortunately ), check it once...............

<b>2nd possiblity:</b>

GOTO system ---> user profile -


> own data

In that,Click Default option.OK.Here u can see some

decimal formatting options.May be these are affecting...

Reward,if helpful.

Regards,

V.Raghavender.

Former Member
0 Kudos
470

Hi,

You check your data type.May be your data type u mentationing Decimal place : 2

so it displaying decimal value. make Decimal place is 0.

Thanks...

Sasmita