If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > right align, help

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-05-03, 14:12
byte2002 byte2002 is offline
Registered User
 
Join Date: Oct 2002
Posts: 19
Arrow right align, help

I need to print an array to an output file, the problem is that because of being numbers of different length and with decimal part is's impossible to align them with respect to the right margin. The only thing that was happened to me was a function using a block if elseif.. but I would like to know if there is some more efficient form
example:

2.123 125.002 14.154
20.2569 12.123 17.158
-789.125 147.1 1.174

does anyone know how to align using the right margin?
thanks advanced
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On