Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'How to display two digit number' topicStudent Support Forum > General > Archives > "How to display two digit number"

< Previous CommentHelp | Reply To Comment | Reply To Topic
Author Comment/Response
Bill Simpson
10/26/12 4:51pm

In Response To 'Re: Re: How to display two digit number'
---------
If you are using numbers for all this then how are you able to tell the difference between 13.5 and 13.50? Mathematica displays both of those as 13.5. I don't believe it is keeping track that you believe one of those has three digits and the other has four.

If you are using strings for all this then why not write a little simple function that RegularExpression to split off the two mumeric parts, insert zeros as needed and reassemble the string?

URL: ,

Subject (listing for 'How to display two digit number')
Author Date Posted
How to display two digit number Herman 10/20/12 7:23pm
Re: How to display two digit number yehuda 10/22/12 00:37am
Re: Re: How to display two digit number Herman 10/25/12 7:22pm
Re: Re: Re: How to display two digit number Bill Simpson 10/26/12 4:51pm
< Previous CommentHelp | Reply To Comment | Reply To Topic