DecimalPart = CDbl(TheNumber)-CLng(TheNumber)
If you don't care about the sign stick Abs() around the result. And I'm
assuming you want the decimal value, i.e. if the number is 2, you want .0 as
a result.
Ray at home
"Ricardo" <ri*************@enetspeculation.com> wrote in message
news:03****************************@phx.gbl...
Hi.
How can I -from an ASP page- get the decimal part of a
number ?
Thanks in advance for all your help.