Skip to main content
7 events
when toggle format what by license comment
Jul 5, 2022 at 19:04 comment added Xiaoyu Liu Still have some stupid problems like Round[4.897, 0.01]=4.9 instead of 4.90.
Nov 10, 2014 at 13:21 comment added Murta @ChrisDegnen I'm using N@Round[100*4.811,1/100] to solve that. But take care with automatic Map compilation, details here: 65298
Nov 9, 2014 at 23:19 comment added Chris Degnen Nice observation. That also occurs with 481/100. but not with N[481/100] so the safer usage is to round to integer like N[Round[100*4.811]/100]
Nov 9, 2014 at 22:56 comment added Murta There are some problems with Round. For example, try Round[4.811] and you get 4.8100000000000005, not 4.81 as expected.
Jul 5, 2012 at 22:01 vote accept Mr Alpha
Jul 4, 2012 at 23:17 comment added Mr Alpha Ah! Now I feel stupid. I did look at that but for some reason I assumed a had to be a whole number.
Jul 4, 2012 at 12:36 history answered Chris Degnen CC BY-SA 3.0