cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Creating a program function ?

lvl107
20-Turquoise

Creating a program function ?

   Hello Everyone.

Creating a program function.PNG

   Need help with creating a program function W(  ) with the input and a similar output as the above ?

        Thanks in advance.

               Regards.

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:lvl107)

Here you are.

If in case of an odd number of columns you want zeros the center column, simply change "round" to "trunc".

View solution in original post

3 REPLIES 3
Werner_E
25-Diamond I
(To:lvl107)

What will you do if the number of columns is odd?

Werner_E
25-Diamond I
(To:lvl107)

Here you are.

If in case of an odd number of columns you want zeros the center column, simply change "round" to "trunc".

lvl107
20-Turquoise
(To:Werner_E)

Many thanks for your time and help, Werner.   

       Best Regards.

Announcements

Top Tags