First off, I'm not familiar with qbasic.
Please forgive me if it doesn't work
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.