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

Home » Public Forums » archive » Specify the degree of accuracy of a floating point number
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Specify the degree of accuracy of a floating point number [message #52607] Wed, 21 February 2007 20:48 Go to previous message
loknath is currently offline  loknath
Messages: 11
Registered: May 2006
Junior Member
Hi
Is there a way to convert a single precision or double precision
floating point number to an accuracy of specified decimal places? In
other words, if I want to write 0.268954 or 233.256 to an accuracy of
2 decimal places, i.e. 0.27 and 233.26, is there a way to do it?
Thanks
[Message index]
 
Read Message
Read Message
Previous Topic: Re: TRIANGULATE. Finding contiguous cells efficiently?
Next Topic: Fast way to calculate sum of discrete poisson distribution

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

Current Time: Fri Oct 10 03:29:47 PDT 2025

Total time taken to generate the page: 0.80085 seconds