🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: simple math (add)

#19029
From: Andrew Bennett [ Borland ]
Date: Mon, 16 Mar 1998 00:00
29 lines
1312 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;

strCustNo might be a string, but it may not be a digit.  IE "a"

Consult parseInt() to convert the string to an integer.



Andrew
--
  Andrew Bennett
  abennett@borland.com

  Due to my workload, personal email more than likely won't get a reply.
  Support options are detailed at http://www.borland.com/devsupport/
  I am unable to answer support questions via email at this time.

  Check http://www.borland.com/devsupport/jbuilder/ for FAQs and
  additional JBuilder support related help.
Technical Details
Message-ID: <350D929D.A4753147@borland.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: "Andrew Bennett [ Borland ]" <abennett@borland.com>
Subject: Re: simple math (add)
Date: 1998/03/16
Message-ID: <350D929D.A4753147@borland.com>
X-Deja-AN: 334660976
Content-Transfer-Encoding: 7bit
References: <350D755D.5E0D13BB@intersolv.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Organization: Borland JBuilder -- http://www.borland.com/jbuilder/
Newsgroups: borland.public.jbuilder.java.language