Thank you David; this seems to perform the required task with relative ease,
which is all I could ask for at the moment!
Tyler
On Sat, Nov 13, 2010 at 1:32 PM, David Winsemius wrote:
>
> On Nov 13, 2010, at 12:34 PM, T.D. Rudolph wrote:
>
>
>> Is there any really easy way to truncate integers w
On Nov 13, 2010, at 12:34 PM, T.D. Rudolph wrote:
Is there any really easy way to truncate integers with several
consecutive
digits without rounding and without converting from numeric to
character
(using strsplit, etc.)?? Something along these lines:
e.g. = 456
truncfun(e.g., location
Is there any really easy way to truncate integers with several consecutive
digits without rounding and without converting from numeric to character
(using strsplit, etc.)?? Something along these lines:
e.g. = 456
truncfun(e.g., location=1)
= 4
truncfun(e.g., location=1:2)
= 45
truncfun(e.g.,
3 matches
Mail list logo