SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseSQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old August 21st, 2000, 04:55 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
ASP incorrectly displays SQL NUMERIC 6,3 field

<i><b>Originally posted by : Allan (aspielma@yahoo.com)</b></i><br />I am using a ASP recordset to access data from SYBASE SQL.<br /><br />There is a SYBASE SQL table with certain numeric fields defined as NUMERIC 6,3<br /><br />I use a stored procedure to retrieve certain rows and another one to update and insert rows. Certain numbers are appearing incorrectly when displayed by ASP, even though they are corect in the SQL table.<br /><br />Here are some examples:<br />SQL ASP<br />10 1.0<br />20 2.0<br />16 16.0<br />10.01 10.1<br /><br />Zeros are being dropped from the integer part of the number IF THERE IS NO NON ZERO DECIMAL DIGIT. <br />

Reply With Quote
  #2  
Old October 14th, 2003, 12:35 PM
m_lazor m_lazor is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Luxembourg
Posts: 156 m_lazor User rank is Corporal (100 - 500 Reputation Level)m_lazor User rank is Corporal (100 - 500 Reputation Level)m_lazor User rank is Corporal (100 - 500 Reputation Level)m_lazor User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Do you already use s.th. like FormatNumber?

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseSQL Development > ASP incorrectly displays SQL NUMERIC 6,3 field


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT