[comp.lang.pascal] String to Real conversion routine needed

jayward@eecs.cs.pdx.edu (Jay Ward) (11/06/90)

to a real number.  Can someone please mail me the source to such a routine?
An example:
	Input: '123.45'
	Output: 1.2345E+02

I am using Berkley Pascal on a BSD 4.3 machine.

Thanks in advance!

-------


*************************************************************************
*		/			     \  ^ ----------------  ^	*
*  Jay Ward ---|   jayward@eecs.ee.pdx.edu    | | "Did I say that?" |	*
*		\			     /  \-------------------/	*

jayward@eecs.cs.pdx.edu (Jay Ward) (11/06/90)

In article <550@pdxgate.UUCP> jayward@eecs.cs.pdx.edu (Jay Ward) writes:
>to a real number.  Can someone please mail me the source to such a routine?
>An example:
>	Input: '123.45'
>	Output: 1.2345E+02
>
>I am using Berkley Pascal on a BSD 4.3 machine.

That should say that I am looking for a routine to convert a STRING to a REAL.
My Line was eaten!

*************************************************************************
*		/			     \  ^ ----------------  ^	*
*  Jay Ward ---|   jayward@eecs.ee.pdx.edu    | | "Did I say that?" |	*
*		\			     /  \-------------------/	*