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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
Larry Hotchkiss
Universal Capital
612-551-9309
http://www.unicap.com/

-- 
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]

Reply via email to