|
From: le0 on 8 Aug 2006 03:26 Hi Guys, Can you help me with this? Is there any function that I can use in getting a whole number Example: Input OutPut 12.3 12 1.63 1 21.1 21 Im using the function left(p1,p2) but it doesnt recognize the whole number Please help thanks =)
From: Bobbo on 8 Aug 2006 04:31 le0 wrote: > Can you help me with this? Is there any function that I can use in getting a > whole number Look up the help topics for Round, CInt and FormatNumber and decide which is best for you to use -- it depends on what you're trying to achieve.
From:
Anthony Jones on 8 Aug 2006 04:49 "Bobbo" <robinw77(a)gmail.com> wrote in message news:1155025911.098523.149800(a)p79g2000cwp.googlegroups.com... > > le0 wrote: > > > Can you help me with this? Is there any function that I can use in getting a > > whole number > > Look up the help topics for Round, CInt and FormatNumber and decide > which is best for you to use -- it depends on what you're trying to > achieve. > None of the above. ;) Int is the function needed Eg. Int(1.62) = 1
From: Bobbo on 8 Aug 2006 05:20 Anthony Jones wrote: > > None of the above. ;) > > Int is the function needed > Thanks Anthony, I stand corrected! I -- incorrectly -- remembered that CInt behaved like that. Guess it's been too long since I've done classic ASP! :-)
From: Bobbo on 8 Aug 2006 05:20
Anthony Jones wrote: > > None of the above. ;) > > Int is the function needed > Thanks Anthony, I stand corrected! I -- incorrectly -- remembered that CInt behaved like that. Guess it's been too long since I've done classic ASP! :-) |