home *** CD-ROM | disk | FTP | other *** search
- Path: easy.in-chemnitz.de!mkmk!floh
- From: floh@mkmk.in-chemnitz.de (Andre Weissflog)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Convert ASCII to IEEE
- Message-ID: <4+3Tx*Pz0@mkmk.in-chemnitz.de>
- Date: Tue, 02 Jan 1996 00:38:28 CET
- Reply-To: floh@mkmk.in-chemnitz.de
- References: <1055.6574T1047T1274@mbox3.swipnet.se>
- Distribution: world
- Organization: private uucp site
- X-Newsreader: Arn V 1.04
-
- In article <1055.6574T1047T1274@mbox3.swipnet.se>, Roland Bengtsson writes:
-
- > Are there an easy way to read a stringgadget (ASCII) and then convert it to
- > double IEEE-format.
-
- atof() or strtod(), both convert a C string into a double. strtod()
- additionally fills a pointer to the end of the number substring for
- further processing the string.
-
- Both are ANSI.
-
- Bye,
- -Floh.
-
- ====//=== Andre Weissflog <floh@mkmk.in-chemnitz.de> =======
- ...// Sep'95: Return Of The Living Death...................
- \\// 90% of everything is crap (Sturgeon's Law)...........
- =\\===============================================Amiga!=
-
-