|
|
|
|
|
|
| Author |
Message |
rickpoleshuck@verizon.net *nix forums beginner
Joined: 11 Jul 2006
Posts: 2
|
Posted: Thu Jul 13, 2006 12:02 pm Post subject:
Re: Sybase convert oddity
|
|
|
select @@version:
Adaptive Server Enterprise/12.5.0.3/EBF 11442 ESD#4/P/Sun_svr4/OS
5.8/rel12503/1939/64-bit/FBO/Sun Sep 21 05:21:37 2003
Cal wrote:
| Quote: | rickpoleshuck@verizon.net wrote:
select convert(numeric(16,2), 5.329),convert(numeric(16,2), '5.329')
returns
5.32 5.33
I would like to understand the logic behind this behavior, if any.
On what Sybase exactly? I have ISQL 12.5 and result is 5.33 and 5.33
(normal).
Cal |
|
|
| Back to top |
|
 |
Cal *nix forums beginner
Joined: 18 Jan 2006
Posts: 10
|
Posted: Thu Jul 13, 2006 6:36 am Post subject:
Re: Sybase convert oddity
|
|
|
rickpoleshuck@verizon.net wrote:
| Quote: | select convert(numeric(16,2), 5.329),convert(numeric(16,2), '5.329')
returns
5.32 5.33
I would like to understand the logic behind this behavior, if any.
|
On what Sybase exactly? I have ISQL 12.5 and result is 5.33 and 5.33
(normal).
Cal |
|
| Back to top |
|
 |
rickpoleshuck@verizon.net *nix forums beginner
Joined: 11 Jul 2006
Posts: 2
|
Posted: Tue Jul 11, 2006 6:16 pm Post subject:
Sybase convert oddity
|
|
|
select convert(numeric(16,2), 5.329),convert(numeric(16,2), '5.329')
returns
5.32 5.33
I would like to understand the logic behind this behavior, if any. |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Sat Nov 22, 2008 8:36 am | All times are GMT
|
|
Loans | Mortgage Calculator | Mortgage Calculator | Manual directory submissions | Loans
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|