🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #19038

Re: simple math (add)

#19038
From: Jeff Cahill
Date: Tue, 17 Mar 1998 00:00
22 lines
1016 bytes
Thanks James!

James D. Frentress wrote:

> Jeff Cahill wrote:
>
> > I want to add 1 to the string and store it in a BigDecimal in less
> > than
> > 100 lines.
> >
> > For example:
> >
> > String strCustNo = new String(GetCustNo);
> > strCustNo = strCustNo + 1;
> > BigDecimal = strCustNo;
> >
> > Thanks,
> >   Jeff
>
>   BigDecimal bd = new BigDecimal(GetCustNo);
>   bd = bd.add(new BigDecimal("1"));
Technical Details
Message-ID: <350E8DF6.554E3F43@intersolv.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <350D755D.5E0D13BB@intersolv.com> <350DC130.9A5CAECC@ForAWhile.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,340f932d80e414fb
X-Google-Attributes: gidf74b3,public
From: Jeff Cahill <jeff_cahill@intersolv.com>
Subject: Re: simple math (add)
Date: 1998/03/17
Message-ID: <350E8DF6.554E3F43@intersolv.com>
X-Deja-AN: 334901275
Content-Transfer-Encoding: 7bit
References: <350D755D.5E0D13BB@intersolv.com> <350DC130.9A5CAECC@ForAWhile.com>
Mime-Version: 1.0
To: "James D. Frentress" <Broken@ForAWhile.com>
Content-Type: text/plain; charset=us-ascii
Organization: INTERSOLV
Newsgroups: borland.public.jbuilder.java.language