comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » round to x number of decimals within floating point value?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: round to x number of decimals within floating point value? [message #92463 is a reply to message #74355] Tue, 22 December 2015 13:17 Go to previous messageGo to previous message
omar ali is currently offline  omar ali
Messages: 13
Registered: December 2015
Junior Member
بتاريخ الخميس، 13 يناير، 2011 8:29:29 م UTC+1، كتب Snow53:
> I need to round the values within a file to three decimal places. For
> example, 0.00053335 would become 0.001.
> I also have many NaNs within the file.
>
> Any suggestions?
>
> Thanks!

Hi there,
I have gone through the messages and i wonder there is a solution to conver 0.00053335 to 0.001. Indeed, i have a number (0.2345678)and i want it to be with 2 digits after the decimal

Thanks in advance
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: It's about time
Next Topic: GDAL spawn library conflict

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:18:10 PDT 2025

Total time taken to generate the page: 0.00453 seconds