Re: floats
On 13 Apr 2005, at 11:51, Greg Haberek wrote:
>
> > I don't know if the last post made it so here's my question again
> >=20
> > I was wondering if there was an easy way to seperate the exponent from =
a
> > fractal of a float32
> >=20
> > eg: atom float32 float32
=12
345.54321
> >=20
> > I need to make two words [12345][54321] respectively
>
> This keeps the numbers as numbers, not text.
>
> }}}
<eucode>
> atom number, whole, decimal
>=20
> number =012345.54321
> whole =0F
loor( number )
> decimal=20
>=20
> </eucode>
{{{
What?
Kat
|
Not Categorized, Please Help
|
|