Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
Hello Everyone.
Need help with creating a program function W( ) with the input and a similar output as the above ?
Thanks in advance.
Regards.
Solved! Go to Solution.
Here you are.

If in case of an odd number of columns you want zeros the center column, simply change "round" to "trunc".
What will you do if the number of columns is odd?
Here you are.

If in case of an odd number of columns you want zeros the center column, simply change "round" to "trunc".
Many thanks for your time and help, Werner.
![]()
Best Regards.
