Can someone explain this?  Input:  58/100*100   Result:  57.99999999999999   Yet...  Input:  26/100*100   Result:  26.0   Also, how can I consistently get results like in the second case?
27
Consider the following code:   0.1 + 0.2 == 0.3  -&gt;  false   0.1 + 0.2         -&gt;  0.30000000000000004   Why do these inaccuracies happen?
117815
I have a table with a smallint column that contains percentages as whole numbers (i.e., 50, 75, 85, etc.)  When I divide this column by 100, as in  SELECT MY_COLUMN/100 AS PCT_AS_FRACTION FROM MY_TABLE   the result is rounded to the nearest whole number. For example, for a row that contains the number "50", I get zero as my result.  I can duplicate this with a simple statement:  SELECT 50 / 100 AS TEST_VALUE   Why is that, and how can I get more precision in my result?
58895
Been trying to this line to parse for a good 20mins, but all attempts have failed:  \beta = $-$0.84, t = $-$2.09, P = 0.04   Could anyone tell me why I'm getting a Missing $ inserted error here?
810
The question is:  If $$A=\frac{1}{1.2}+\frac{1}{2.3}+\frac{1}{3.4}+\cdots+\frac{1}{1997.1998}$$ and  $$B=\frac{1}{1000.1998}+\frac{1}{1001.1997}+\cdots+\frac{1}{1998.1000}$$ then what is the value of $\frac{A}{B}$?   I could figure out that $A=\frac{1997}{1998}$, but I have no idea how to proceed with $B$. Could somebody help?  Thanks for any help :-)
82915
For example, the standard division symbol '/' rounds to zero:  &gt;&gt;&gt; 4 / 100 0   However, I want it to return 0.04. What do I use?
35871
How does Python evaluate the expression 1+++2?  How many ever + I put in between, it is printing 3 as the answer. Please can anyone explain this behavior  And for 1--2 it is printing 3 and for 1---2 it is printing -1
15793
Let's say we have 0.33, we need to output 1/3.  If we have 0.4, we need to output 2/5.  The idea is to make it human-readable to make the user understand "x parts out of y" as a better way of understanding data.  I know that percentages is a good substitute but I was wondering if there was a simple way to do this?
112318
what is wrong with this??? please,can anyone help?  \begin{equation} \label{probabilityy} P^{t}({E_{0})=P_{0}+(1-P_{0})P_{1}+ (1-P_{0})(1-P_{1})P_{2}+.......+P_{n}\Pi_{k_{0}}^{n-1}(1-P_{k}) \end{equation}
63730
"" (number $5$).  I'm looking at this, and i'm not sure what the $\equiv$ means in this instance? I know the rest of the values, but what does $\equiv$ mean right now?  Thanks in advance!
2827
What's the cleanest, most effective way to validate decimal numbers in JavaScript?  Bonus points for:   Clarity. Solution should be clean and simple. Cross-platform.   Test cases:  01. IsNumeric('-1')      =&gt; true 02. IsNumeric('-1.5')    =&gt; true 03. IsNumeric('0')       =&gt; true 04. IsNumeric('0.42')    =&gt; true 05. IsNumeric('.42')     =&gt; true 06. IsNumeric('99,999')  =&gt; false 07. IsNumeric('0x89f')   =&gt; false 08. IsNumeric('#abcdef') =&gt; false 09. IsNumeric('1.2.3')   =&gt; false 10. IsNumeric('')        =&gt; false 11. IsNumeric('blah')    =&gt; false
109657
First number needs to be rounded to nearest second number. There are many ways of doing this, but whats the best and shortest algorithm? Anyone up for a challenge :-)   1244->1200  1254->1300 123->100 178->200 1576->1600 1449->1400 123456->123500 654321->654300 23->00 83->100
63628
Here's an example:  Double d = (1/3); System.out.println(d);   This returns 0, not 0.33333... as it should.  Does anyone know?
11673
Just saw , and realized that  1/9801 = 0.(000102030405060708091011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969799)(repeat)  Similar properties are also exhibited by numbers , , .. and so on. Edit: fixed periodic start and end It is not very obvious to me why this happens. Is there some simple explanation to this property?
5995
When displaying the value of a decimal currently with .ToString(), it's accurate to like 15 decimal places, and since I'm using it to represent dollars and cents, I only want the output to be 2 decimal places.   Do I use a variation of .ToString() for this?
92574
I looked "$\divideontimes$" up on Google and now I know that it's Unicode U+22c7 but when would it be used?  I am guessing that $5 \divideontimes 5 = 25$ and $1$...?
113604
I was messing around with my TI-84 Plus Silver Edition calculator and discovered that it will actually give me values when taking the factorial of any number $n/2$ where $n$ is any integer greater than $-2$. Why does this happen? I thought factorials were only defined for positive integers and $0$, so what is my calculator doing to get the answer $3.32335097$ when I enter $2.5!$? Is there actually a definition of $2.5!$ or is my calculator just being weird? How is the factorial function implemented?  I understand the binary implications of $2.5$, so that could possibly have something to do with it. I get a domain error when trying to take the factorial of $-1, 2.3, e$, and any number that is not of the form $n/2$ where $n$ is any integer greater than $-2$.
121265
$(\mathbf60\times\mathbf60)$ Seconds = $3600$ Seconds or $60$ Minutes  while  $(1\times 1)$ Minute = 1 Minute  What am I missing? and sorry about formatting i am new here on math network