To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 12496
  Re: Some comments on LPub
 
(...) This is exactly what happens when you read string numbers into a float (or Pascal single) and then convert it to a double (or extended). Floating point numbers are never exact in computers, and storing them with limited precision (...) (20 years ago, 22-Mar-05, to lugnet.cad)
 
  Re: Some comments on LPub
 
(...) Anders, Thanks very much. I'll see what I can do. Kevin (20 years ago, 22-Mar-05, to lugnet.cad)
 
  Re: Some comments on LPub
 
(...) One way to adress this is to keep the setting in memory also as a string, and never convert on the way of loading a config file into memory and saving it to a file again. Only when the setting is used to do calculations, it is converted from (...) (19 years ago, 26-Mar-05, to lugnet.cad)

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR