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 bkrike 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: *

  • Users: pawelf
  • Content: Threads
  • Order by date
  1. pawelf

    Wish to round float in integer

    Hallo, i wish to round any float in a integer in a (svg) path. I try awk '/[-+]?\d*\.?\d+/ {print int($1+0.5)}' input.svg>output.svg but the output (in the file) is 0 0. The regex works fine and the round is tested. What's the problem?

Part and Inventory Search

Back
Top