A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Today (12/10) is CodeRanch Day in
Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
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;
It is sorta covered in the
JavaRanch Style Guide
subject: converting a decimal value to a character .. How ?
Storing floats and doubles
How to find number of decimal places?
Find out decimal point character of locale
How to align mutliple columns properly using print?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013