What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » (Quick)BASIC trouble (integers)

(Quick)BASIC trouble (integers)
Author: Message:
Weyzza
Veteran Member
*****

Avatar
SoCal sunset > *

Posts: 1170
Reputation: 29
– / Male / –
Joined: May 2003
RE: (Quick)BASIC help
First off, I'm not familiar with qbasic.
Please forgive me if it doesn't work :p

quote:
Originally posted by rav0
When I'm printing integers, it always adds a space before and after it. How can I make it not do that?

I believe there's a trim() function for eliminating the spaces.
That's usually available for most programming language.
quote:
Originally posted by rav0
Also, when printing an integer, how do I set the amount of decimal pplaces to output? It just uses the least amount neccessary.
I'm not sure if this is going to be working or not, but if I were you, I'll convert the value to string, check the number of digit after the decimal point, and concat a zero if necessary.
Registered 7855 days, 1 hour, 43 minutes, 33 seconds ago.
Happy Birthday, WDZ

02-12-2006 08:19 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
(Quick)BASIC trouble (integers) - by rav0 on 02-12-2006 at 08:00 AM
RE: (Quick)BASIC help - by Weyzza on 02-12-2006 at 08:19 AM
RE: RE: (Quick)BASIC help - by rav0 on 02-12-2006 at 08:35 AM
RE: RE: (Quick)BASIC help - by CookieRevised on 02-12-2006 at 08:04 PM
RE: (Quick)BASIC trouble (integers) - by Weyzza on 02-12-2006 at 08:50 AM
RE: (Quick)BASIC trouble (integers) - by rav0 on 02-14-2006 at 06:27 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On