| Author |
seperate numbers from float number
|
praneeth ram
Ranch Hand
Joined: Sep 21, 2009
Posts: 60
|
|
Hi All,
I have a number var num=1.234 i want to take the numbers before and after the dot i.e 1 and 2, save it in two variables like before=1,after=2, how can i achieve this. please help me.
thanks in advance.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56529
|
|
|
Did you look for help from the Math object?
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
 |
|
|
subject: seperate numbers from float number
|
|
|