[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Shut down or leave on?



> That's still a little bit high, actually:
>
> ~$> echo "24 * 365.25" | bc
> 8766.00
>
> but I only did this to illustrate the more compact use 
> of some system tools, in this case 'echo', 'bc' and a pipe. :)

G.W. ....

  Python can also be used in a handy and compact form ....

$ python -c "x = 24 * 365.25 ;  print '%.2f' % x "
8766.00


-- 
Stanley C. Kitching
Human Being
Phoenix, Arizona


----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----



Reply to: