🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: simple math (add)

#19032
From: James D. Frentress
Date: Mon, 16 Mar 1998 00:00
18 lines
883 bytes
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: <350DC130.9A5CAECC@ForAWhile.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <350D755D.5E0D13BB@intersolv.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: "James D. Frentress" <Broken@ForAWhile.com>
Subject: Re: simple math (add)
Date: 1998/03/16
Message-ID: <350DC130.9A5CAECC@ForAWhile.com>
X-Deja-AN: 334717210
Content-Transfer-Encoding: 7bit
References: <350D755D.5E0D13BB@intersolv.com>
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=us-ascii
Organization: Microsoft
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language