Perhaps you should provide documentation about what you think your functions do so people don't have to guess based on the confusing function names.
Quote:
Originally Posted by Natsheh
its a simple function divides/separates 3 numbers in a string into a single digital houses. ex: "1000000" will be "1 000 000"
|
The one posted
here that was created by Bugsy is much better for reusable code. The delimiter to be used can easily be added as the fourth parameter with a default value of ','.
Quote:
Originally Posted by Natsheh
You are correct i just copied that from an old thread, feel free to improve it.
|
I'm unable to edit your post.
Quote:
Originally Posted by Natsheh
IN addition this topic is going to be extreme helpful for new beginners.
|
That is debatable. If you teach poor or confusing code, they'll learn those same bad habits. But I guess that's the nature of the internet, both good and bad exist.
__________________