Re: Bug in math.e?

new topic     » goto parent     » topic index » view thread      » older message » newer message

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.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu