Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Awk > Another number ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 2084 of 2347
Post > Topic >>

Another number fomatting question

by Hermann Peifer <peifer@[EMAIL PROTECTED] > Nov 30, 2007 at 07:59 PM

Hello,

I was wondering if there is an easy way to align numbers with varying 
precision at the decimal point.

Examples:

111.1111
2.222222
-33333.3
44444444

....which should look like:

      111.1111
        2.222222
   -33333.3
44444444

(I don't want to add trailing 0's, but rather leave the numbers as they 
are.)

Thanks in advance, Hermann
 




 4 Posts in Topic:
Another number fomatting question
Hermann Peifer <peifer  2007-11-30 19:59:23 
Re: Another number fomatting question
gazelle@[EMAIL PROTECTED]  2007-11-30 19:45:38 
Re: Another number fomatting question
Hermann Peifer <peifer  2007-11-30 21:38:13 
Re: Another number fomatting question
gazelle@[EMAIL PROTECTED]  2007-11-30 21:12:33 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Sep 7 7:51:01 CDT 2008.