tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Campbell <chris.campb...@lincmedia.co.jp>
Subject RE: integer to alphabet
Date Mon, 17 Jun 2002 07:44:34 GMT

> Does anybody knows how to convert an integer to alphabet ?
> TQ

Something like this... for want of further information:

static String[] hankakuEisuu = {
		"a","b","c","d","e","f","g","h","i","j","k","l","m",
		"n","o","p","q","r","s","t","u","v","w","x","y","z",
		"A","B","C","D","E","F","G","H","I","J","K","L","M",
		"N","O","P","Q","R","S","T","U","V","W","X","Y","Z",
		"1","2","3","4","5","6","7","8","9","0"
		};

String integerToAlphabet(int i) {
	return hankakuEisuu[i];
}

(There must be a JAVA MAILING LIST somewhere?!?)

ChrisC


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message