Re: Bug in math.e?
- Posted by LarryMiller Nov 30, 2010
- 1301 views
The round() function controls the precision of a number, not how it will be displayed. If you wish to display a specific number of digits you should use a function like sprintf() or format(). These functions will give the results you expect.