Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. moealcoi

    floating point problem. newbie

    When I run this simple awk program i'm getting confusing results. Why in the 3rd execution awk is always printing 0? $ gawk '{ printf("%10.6f %10.6f %10.6f\n",$1,$2,$1-$2)}' 3,6 3,6 3,600000 3,600000 0,000000 3,5 3,0 3,500000 3,000000 0,500000 0,6 0,3 0,000000 0,000000...

Part and Inventory Search

Back
Top