[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::vaxc

Title:VAX C Notes
Notice:READ 1.* BEFORE WRITING; USE KEYWORDS TO FIND EXISTING NOTES
Moderator:DECC::VMCCUTCHEON
Created:Sat Jan 25 1986
Last Modified:Mon Jun 02 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:5611
Total number of notes:27963

2408.0. "how do I round off a floating point #" by ASD::ROSSI () Tue Sep 26 1989 14:11

T.RTitleUserPersonal
Name
DateLines
2408.1How about (m=pow(10,ndig),floor((x+0.5)*m)/m)TLE::DANIELSThey'll fix it. They fix everything.Tue Sep 26 1989 18:153
2408.2Seems like a hack but...MSEE::WATERMANDave, NIO/A2, 285-3900Tue Sep 26 1989 23:4920