Take a look here:
http://www.php.net/manual/en/ref.math.php
regards,
Augusto
On Wed, 18 Apr 2001, Jason Caldwell wrote:
> how can i separate the digits in a Double number?
>
> for example:
>
> if i have 3.2 i would like to separate the digits into 3 and 2 and assign
> each to its own variable, like so
>
> numb1 = 3
> numb2 = 2
>
> thanks.
> jason
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]