|
|
Choosing A Webhost: |
Re: Strange conversions when doing calculations with Oracle: msg#00026db.squirrel-sql.users
On 1/16/07, CptBlaubaer <cptblaubaer@xxxxxxxxx> wrote: > Hi Rob, > > thanks for the fast reply. It really changes the behaviour. What makes me > think a bit is, that the other databases (mysql, MS SQL) did provide the > default format although I had setup the locale-dependent format. Do those > JDBC drivers return other datatypes? I don't know. When using the locale-dependent format the code is roughly: _numberFormat = java.text.NumberFormat.getInstance(); _numberFormat.setMaximumFractionDigits(5); _numberFormat.setMinimumFractionDigits(0); return _numberFormat.format(value) I agree, it's counter-intuitive that it would be different across database vendors. > Anyway, thank you for the fast solution of this problem. Your welcome. Rob ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Anything to do about timed-out sessions with oracle?, Gerd Wagner |
|---|---|
| Next by Date: | Bug in metadata retrieval, Ben Burch |
| Previous by Thread: | Re: Strange conversions when doing calculations with Oracle, Robert Manning |
| Next by Thread: | Bug in metadata retrieval, Ben Burch |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |