🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: what class can convert "int" to ASCII?

#15782
From: Steve Horsley
Date: Thu, 29 Apr 1999 00:00
10 lines
736 bytes
Zhaohua Meng wrote:
> 
> I can convert a char to int using Character.getNumericValue(). How to
> reverse it?
> Thank you

int x = 5;
String s = Integer.toString(x);

Steve.
Technical Details
Message-ID: <37281610.36B6@cwcom.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <37274CDA.FC4F47C5@TowerComInc.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,c3bdf6870c3c1ce2
X-Google-Attributes: gidf74b3,public
From: Steve Horsley <steve.horsley@cwcom.co.uk>
Subject: Re: what class can convert "int" to ASCII?
Date: 1999/04/29
Message-ID: <37281610.36B6@cwcom.co.uk>
X-Deja-AN: 472216227
Content-Transfer-Encoding: 7bit
References: <37274CDA.FC4F47C5@TowerComInc.com>
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language