A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
converting a decimal value to a character .. How ?
Joined: Jan 22, 2002
Mar 12, 2002 23:54:00
Assuming I'm a novice in the Ascii, decimal part, I need this info. I have a number 89 which represents the Alphabet 'Y'. Now how do I retrieve the character 'Y' given the number 89 which is of the Type Byte/Character.
Please help !
Joined: Jan 07, 2002
Mar 13, 2002 00:00:00
char Y = 89;
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: converting a decimal value to a character .. How ?
Storing floats and doubles
Find out decimal point character of locale
How to align mutliple columns properly using print?
How to find number of decimal places?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015