Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • 1
    Thanks for the answer, can I use the same setup with an already assigned variable like I described in the edit of my OP? Commented Dec 24, 2014 at 11:03
  • I think I am having difficulties with the delimiter for the decimal point, is there an easy way to set it? It even says invalid number in the examples you provided in this post. Commented Dec 24, 2014 at 11:08
  • 1
    @Vesnog please edit your question and include your locale. It looks like you're using a locale with comma as a decimal separator instead of dot. Commented Dec 24, 2014 at 11:15
  • Where can I find this file? Commented Dec 24, 2014 at 11:15
  • I'm not at my computer, so I can't check now, but it should be in the output of locale. Also show us the output of echo $w. Commented Dec 24, 2014 at 11:17