Thread
:
Get first number
View Single Post
04-07-2008
#
2
(
permalink
)
vn4000
Junior Member
Join Date: Apr 2008
Posts: 12
Re: Get first number
Try convert number to string, for example a = a+ ' ' with a = 2674.
After that use substring method, for example a.substring(0,1)
And convert it to number by parseInt/ parseFloat
Hope that help.
__________________
http://www.vn4000.com
http://vn4000.blogspot.com
vn4000
View Public Profile
Send a private message to vn4000
Find More Posts by vn4000
Mobile Phones
|
Mortgage Loans
|
Free Ringtones
|
Free Myspace Layouts
|
Anime Episodes