I'm trying to specify yaxis tick labels from 0 to 1.0 in steps of 0.1. This is what I get:
ygrids=Range[0,1.0,0.1];
0.,0.1,0.2,0.30000000000000004,0.4,0.5,0.6000000000000001,0.7000000000000001,0.8,0.9,1.}
Round[ygrids,0.01] doesn't fix it. (0.001 fixes all but the 7.0000x)
This is too simple to be this hard!
Help appreciated (version 10.1)
Round[ygrids, 1/10] // N
,Range[0, 1, 1/10] // N
,N@Rationalize@Range[0, 1.0, 0.1]
... $\endgroup${}
button above the edit window. The edit window help button?
is also useful for learning how to format your questions and answers. You may also find this this meta Q&A helpful $\endgroup$