0
$\begingroup$

How cam I get rid of very small scientific form numbers in my output, replacing them with zero? (eg: 2.27682*10^-18 --> 0.0)

$\endgroup$
7
  • 1
    $\begingroup$ Can you give an example input and your expected output? $\endgroup$ Jun 24, 2013 at 14:40
  • $\begingroup$ 2.27682*10^-18 ----> 0.0 $\endgroup$
    – richard
    Jun 24, 2013 at 14:41
  • $\begingroup$ That's still a bit ambiguous. Round[2.27682*10^-18] = 0 $\endgroup$ Jun 24, 2013 at 14:45
  • $\begingroup$ Round just returns the integer part! $\endgroup$
    – richard
    Jun 24, 2013 at 14:47
  • $\begingroup$ It fits your example. Your intention here is very unclear. $\endgroup$ Jun 24, 2013 at 14:50

0

Browse other questions tagged or ask your own question.