Re: PHP and Double?
| From: | Larry Hotchkiss | Date: | Wed, 18 Apr 2001 21:05:22 +0000 |
| Subject: | Re: PHP and Double? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-49269@lists.php.net to get a copy of this message | ||
There are prolly a few ways to do it, using split() may be easiest.
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: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
Larry Hotchkiss
Universal Capital
612-551-9309
http://www.unicap.com/