Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / My text in Hex't

Author
Message
BadMonkey91
21
Years of Service
User Offline
Joined: 13th Jan 2004
Location:
Posted: 22nd Apr 2004 17:58 Edited at: 22nd Apr 2004 18:09
When you tell a variable to *1000000, and then print, it comes up in hexidecimal. Now I have no problem with this, except the average person using my program will not want to convert everytime. Does anyone know how to have it print in decimal?

BadMonkey91
21
Years of Service
User Offline
Joined: 13th Jan 2004
Location:
Posted: 22nd Apr 2004 18:15
okay, I've figured out a way, but how can you make a str$=var#

OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 22nd Apr 2004 18:17
a$=str$(var#)


The place for all great plug-ins.
Keeping it Unreal since 2004
BadMonkey91
21
Years of Service
User Offline
Joined: 13th Jan 2004
Location:
Posted: 22nd Apr 2004 18:59
hey thanks, But by the time i checked this again, I had already figured everything out, and got it working

Login to post a reply

Server time is: 2025-05-23 12:05:22
Your offset time is: 2025-05-23 12:05:22