Translating a ascii value into a decimal value

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Locked
mccommunity
Forum Commoner
Posts: 62
Joined: Mon Oct 07, 2002 8:55 am

Translating a ascii value into a decimal value

Post by mccommunity »

Can someone tell me what command I use to translate ASCII values into decimal values. So it would translate p into 112 and so forth. Thanks.


Mark
User avatar
scorphus
Forum Regular
Posts: 589
Joined: Fri May 09, 2003 11:53 pm
Location: Belo Horizonte, Brazil
Contact:

Post by scorphus »

Maybe [php_man]ord[/php_man]() is your friend.

Cheers,
Scorphus.
User avatar
JAM
DevNet Resident
Posts: 2101
Joined: Fri Aug 08, 2003 6:53 pm
Location: Sweden
Contact:

Post by JAM »

Stop that crossposting.
viewtopic.php?t=16325

[ C L O S E D ]
Locked