View Single Post
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-29-2022 , 19:21   Re: Useful Stocks/Functions
Reply With Quote #5

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 View Post
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 View Post
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 View Post
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.
__________________
fysiks is offline