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
round to x number of decimals within floating point value? [message #74355] Thu, 13 January 2011 11:29 Go to previous message
Snow53 is currently offline  Snow53
Messages: 32
Registered: July 2010
Member
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!
[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 16:03:10 PDT 2025

Total time taken to generate the page: 0.00486 seconds