|
View previous topic :: View next topic
|
| Author |
Message |
aravindababua
New User
Joined: 25 Jun 2007 Posts: 1 Location: chennai
|
|
|
|
Hi Friends,
For a requirement i want to store -0 (Negative Zero) in DB2 table the column type to which i need to negative zero is Decimal(9,2).But -0 is not getting stored in table its getting stored as +0(positive zero). i want to know does Db2 does'nt support -0 in Decimal type columns? |
|
| Back to top |
|
 |
dick scherrer
Moderator Emeritus

Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
What is the requirement to have a negative zero? Zero is just that - zero.
In any collating sequence/system i've ever seen, zero comes between +1 and -1. How would your requirement not match this?
If you explain your requirement, we may be able to offer suggestions. |
|
| Back to top |
|
 |
|
|