Jump to content

Round numbers?


ktsirig

Recommended Posts

Hello, I have a list of numbers that can be in format like:

 

8.8458e-119    
1.06542e-52
2.68e-36
2.91405e-35
0.0190644
0.0205511
0.004

 

Is there something you can suggest me that I use to have some more "elegance" appearance, i.e:

8.84e-119    
1.06e-52
2.68e-36
2.91e-35
0.019
0.02
0.004

 

? Note that I have all these number formats and I want to use a command that could apply to all of them.

Link to comment
https://forums.phpfreaks.com/topic/176242-round-numbers/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.