MathGroup Archive 2003

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

Search the Archive

Re: Problem about expression

  • To: mathgroup at smc.vnet.net
  • Subject: [mg41137] Re: [mg41119] Problem about expression
  • From: Selwyn Hollis <selwynh at earthlink.net>
  • Date: Mon, 5 May 2003 02:42:07 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

I can't imagine how it got there, but the decimal point and the 2 are 
separated by what amounts to a space, much like what you get when you 
type 2x. Is this something that occurs repeatedly? If not, fix it and 
forget about it.

-----
Selwyn Hollis
http://www.math.armstrong.edu/faculty/hollis

On Sunday, May 4, 2003, at 03:54  AM, Bamboo wrote:

>
> Dear all,
>
>
> I assign "0.2" to tmax. But the assigned value is "0." actually.
> As shown in the complete expression, "0.2" is divided into "0." and 
> "2".
>
> If the first blank line is deleted, the assigned value is "0.2" which 
> is
> correct.
> It seems that Mathematica did something automatically.
> How to get rid of this trouble?
>
>
> In[1]:=
> tmax=0.2;
> tmax
> Quit[]
>
> Out[2]:=
> 0.
>
>
> The complete expression is as following:
>
>
> Cell[BoxData[{
>     RowBox[{"\[IndentingNewLine]",
>       StyleBox[
>         RowBox[{
>           RowBox[{"tmax", "=",
>             RowBox[{"0.", "2"}]}], ";"}],
>         Background->None]}], "\[IndentingNewLine]", "tmax",
> "\[IndentingNewLine]",
>     RowBox[{"Quit", "[", "]"}]}], "Input",
>   CellLabel->"In[1]:=",
>   CellFrame->{{0, 0}, {0.5, 0}}]
>
>
> Any help welcome.
>
> Thanks,
> Bamboo
>
>
>



  • Prev by Date: WebMathematica and the Palm handheld
  • Next by Date: Re: How change $AddOnsDirectory
  • Previous by thread: RE: Problem about expression
  • Next by thread: Re: Problem about expression