Community Profile

photo

Joachim Posselt


BTU - Universität Cottbus-Senftenberg

Active since 2017

Statistics

  • First Answer

View badges

Content Feed

View by

Answered
Hi guys. I need help splitting a number into its individual parts and then add them. E.g. the number would be 1994 = 1 + 9 + 9 + 4 = 23
yyyy = 1994; % dig = digits extract // Ziffern extrahieren - mit Mathe, nicht mit Strings!! dig_t = floor (yyyy / 1000);...

6 years ago | 0