1 
                    
                    handaidai      2012-09-09 15:57:05 +08:00    Math.floor(1234 % 10) 个 
                Math.floor(1234 / 10 %10) 十 Math.floor(1234 / 100 %10) 百 Math.floor(1234 / 1000 % 10) 千 以此类推 Math.flloor的目的是去掉小数点后面的  | 
            
     2 
                    
                    raquelken      2012-09-09 16:10:17 +08:00    str_split(""+228) 
                 | 
            
     6 
                    
                    chenz      2012-09-10 00:55:18 +08:00 
                    
                    $n=228; 
                $n=(string)$n; echo $n[0];  | 
            
     7 
                    
                    Air_Mu      2012-09-10 07:36:51 +08:00 
                    
                    这个帖子楼上几位是什么意思啊。看不懂的说 
                为什么这个变量不能是字符串呢  |