|
Int Math / Numeric FunctionDon't confuse Int with cInt! cInt turns a text variable into a numeric variable. Int takes a number and chops off any decimal points, turning it into a whole number. So say you have a value that is PercRight = 89.285728 but you want to show a simple "89%" to your end user. You would say PercRight = Int(PercRight) response.write PercRight & "%" and that would chop it down to just the 89 part of the number. Numeric / Math ASP Functions Bookmark this site so you can reference it any time you have ASP questions in the future! All content copyright Đ 2012 Minerva WebWorks LLC. All rights reserved.
|
|