MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Leading Zeros?


Leading zeroes in a number are meaningless, so why would you WANT them stored?

No, they're not stored.

Bobby

On Thu, 17 Feb 2005 10:30:40 -0500 (EST), AES <siegman at stanford.edu> wrote:

> A quick test seems to show that if I enter as an input line
>
>    y = {001,002,003}; Print[y//FullForm];
>
> the output is List[1,2,3].
>
> Are the leading zeros gone forever?  Does Mathematica have an official
> policy on capturing or storing leading zeros?
>
>
>
>



-- 
DrBob at bigfoot.com
www.eclecticdreams.net


  • Prev by Date: How do I get a DSolve'd function
  • Next by Date: Re: Leading Zeros?
  • Previous by thread: Re: Leading Zeros?
  • Next by thread: [ANN] MathLink for AppleScript 1.2 released