[Date Index] [Thread Index] [Author Index]
Re: number dot (with space)
Emin Gahramanov wrote: > Hi guys, > sorry for the silly question (I am a Mathematica dummy). I have integrated > out an expression, and I do not know how to interpret the term like this: > (-1. g + r)^4) > What throws me off is "1. g" (g is a parameter), what is that dot after one > and there is also a SPACE after the dot and before "g" symbol. Sometimes I > get smth. like "1. r" what is that supposed to mean? If r=2, then how to > interpret the latter? Is it 1.2?? Or? Thanks. > It means -1.0*g. Avoid inexact numbers when doing symbolic calculations. Of course 1*g is just g, but in Mathematica 1.0 means 1 with a certain precision, not necessarily precisely 1. Use Rationalize to convert floating point numbers to rationals.