English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Got the input number part, but am stuck on how to separate the five digit number.

2007-01-25 17:54:14 · 1 answers · asked by bloodyhell1981 1 in Computers & Internet Programming & Design

1 answers

Well for a start, you need FOUR spaces to pad out five digits.

Treat the digits as a string, not a number. If you like, start with a string of 9 "spaces" and put the digits in position 0, 2, 4, 6, and 8.

2007-01-28 15:07:15 · answer #1 · answered by Alan 6 · 0 0

fedest.com, questions and answers