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 / *20040 (-10)
  Re: Delphi and decimal signs.
 
"Tore Eriksson" <tore.eriksson@mbox3...wipnet.se> skrev i meddelandet news:3B8154F2.D99058...pnet.se... (...) national settings? The problem is that numerical constants in the code must always adhere to the English notation (decimal point). (...) (23 years ago, 20-Aug-01, to lugnet.cad.dev)
 
  Re: Delphi and decimal signs.
 
Careful manipulation? All I need to do is add the line DecimalSeparator := '.'; to FormCreate and all my problems are gone! Gary, you are a hero! I'll check out ThousandSeparator later. Thanks again! /Tore (...) (23 years ago, 20-Aug-01, to lugnet.cad.dev)
 
  Re: Delphi and decimal signs.
 
(...) With careful manipulation of the DecimalSeparator and ThousandSeparator global variables, one could write a Delphi app that reads/writes periods (full stop symbols) from/to DAT files, but displays the locale-specific symbols to the user and (...) (23 years ago, 20-Aug-01, to lugnet.cad.dev)
 
  Re: Delphi and decimal signs.
 
Aah, that explains a lot. Thank you for your quick reply! /Tore (...) (23 years ago, 20-Aug-01, to lugnet.cad.dev)
 
  Re: Delphi and decimal signs.
 
(...) national settings? f := 3.14; // correct f := 3,14; // error f := StrToFloat('3.14'); // correct f := StrToFloat('3,14'); // error s := FloatToStr(3.14); // s is assigned '3.14' -Gary (23 years ago, 20-Aug-01, to lugnet.cad.dev)
 
  Delphi and decimal signs.
 
Look at following Delphi code: s: string; f: double; i: Integer; begin f := 3.14; // correct f := 3,14; // error (of course...) f := StrToFloat('3.14'); // error f := StrToFloat('3,14'); // correct s := FloatToStr(3.14); // s is assigned '3,14' Is (...) (23 years ago, 20-Aug-01, to lugnet.cad.dev)
 
  40 & 48 foot trailers
 
here are my MLCAD 3-d views of my 40 ft & 48 ft semi trailers: 40ft: (URL) (23 years ago, 20-Aug-01, to lugnet.town, lugnet.cad.mlcad)
 
  Model generator from pictures
 
Saluton! Is this model-from-picture-generator supposed to be working? I have a ~50x50 BMP of which the Win 98 Paint thingie tells me that it's in 24 bit, as the MLCad docs say would be needed. But when I try to load this picture into MLCad 2.00R4, (...) (23 years ago, 20-Aug-01, to lugnet.cad.mlcad)
 
  LDraw FilTEr
 
I played around a little with an idea I had from working with ldboxer. No code is written yet, but you'll get a good idea of what I am thinking of if you watch this: (URL) (43 Kb) Just like in the ldboxer, the presentation of the Input File will be (...) (23 years ago, 20-Aug-01, to lugnet.cad, lugnet.cad.dev)
 
  Re: About the datsville video clip
 
(...) did u say 68 sixty-eight rofl hehehe thanks but I think I'll do it myself with my p3 at 867mhz with 64mb of ram. (...) (23 years ago, 20-Aug-01, to lugnet.cad)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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