Subject:
|
Re: number notation in official parts
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Fri, 12 Mar 2010 05:22:45 GMT
|
Viewed:
|
23786 times
|
| |
| |
In lugnet.cad.dev, Timothy Gould wrote:
> My point is that to write in mixed format (some %f and others %e) requires some
> strange coding unless there is a weird language which does it automatically. I'm
> pretty sure that to do it in C or Fortran would be quite hard.
Actually, in C, %g does exactly this. Having said that, I think LDDP is a
Delphi app, so it uses Pascal, and I don't remember how Pascal does formatting.
--Travis
|
|
Message has 1 Reply: | | Re: number notation in official parts
|
| (...) Ahhh. I'd never heard of %g before now. I'm so used to %f and %e it had never occured to me that there might be a mixed option. Handy to know as I suspect it would be helpful in reading files of unknown format. I'm sure Delphi has some hideous (...) (15 years ago, 12-Mar-10, to lugnet.cad.dev)
|
Message is in Reply To:
| | Re: number notation in official parts
|
| (...) I definitely know this. I see them far too much in my job as a numerical physicist ;) My point is that to write in mixed format (some %f and others %e) requires some strange coding unless there is a weird language which does it automatically. (...) (15 years ago, 12-Mar-10, to lugnet.cad.dev)
|
13 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|