ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » ESQL converting string to DECIMAL

Post new topic  Reply to topic
 ESQL converting string to DECIMAL « View previous topic :: View next topic » 
Author Message
reshds
PostPosted: Wed Dec 15, 2010 5:32 pm    Post subject: ESQL converting string to DECIMAL Reply with quote

Apprentice

Joined: 25 Mar 2010
Posts: 37
Location: LA

I want to add two numbers which is stored as strings

"12340.20" and "34.20",

when i retrieve this form dtabase I am not able to add those value ,instead I am getting "12340.20" in the result.

Experts excuse !
_________________
Thanks.
Back to top
View user's profile Send private message
reshds
PostPosted: Wed Dec 15, 2010 5:52 pm    Post subject: Reply with quote

Apprentice

Joined: 25 Mar 2010
Posts: 37
Location: LA

i GOT IT .tHANKS
_________________
Thanks.
Back to top
View user's profile Send private message
nukalas2010
PostPosted: Wed Dec 15, 2010 8:19 pm    Post subject: Reply with quote

Master

Joined: 04 Oct 2010
Posts: 220
Location: Somewhere in the World....

reshds wrote:
i GOT IT .tHANKS



shall we know how u got it.. may be it will be helpful to others also...
Back to top
View user's profile Send private message
reshds
PostPosted: Thu Dec 16, 2010 1:52 pm    Post subject: Reply with quote

Apprentice

Joined: 25 Mar 2010
Posts: 37
Location: LA

I initalized the variable holder to '0' ,then performed the addition.

LEt me know if anybody has other way to do this.Thank you.
_________________
Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » ESQL converting string to DECIMAL
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.