Talk:Middle three digits: Difference between revisions

→‎task clarification: added a comment section. -- ~~~~
(→‎task clarification: added a comment section. -- ~~~~)
Line 21:
:The requirement was to return middle three digits. That can not be done with integer, since integer does not contain digits. --[[User:PauliKL|PauliKL]] 16:16, 5 February 2013 (UTC)
::Maybe just change it to something like "the middle three digits or the number represented by those digits" just to allow the freedom. --[[User:Mwn3d|Mwn3d]] 16:54, 5 February 2013 (UTC)
 
==task clarification==
 
I think the task requirement should read:
 
''“Write a function/procedure/subroutine that is called with an integer value and returns the middle three digits of the integer (expressed in '''base 10''') if possible, or a clear error indication if not possible.”''
 
-- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 21:37, 16 April 2013 (UTC)