![]() |
Re-convert Currency back to Integer?
Database: Access 2000
How does one switch a converted currency format back to a plain integer in Asp. I have tried Cint but this produces an overflow error for the following: NewPrice = CInt(Request.Form.Item("NewPrice")) Microsoft VBScript runtime (0x800A0006) Overflow: 'Cint' |
Re: Re-convert Currency back to Integer?
"$252,"
...but the error message cuts off the trailing zeros. The incoming form variable is Currency formatted in the previous form. "Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message news:uoZLwTMcDHA.2820@tk2msftngp13.phx.gbl... > what's the value of NewPrice when this happens? > > > -- > ---------------------------------------------------------- > Curt Christianson (Software_AT_Darkfalz.Com) > Owner/Lead Designer, DF-Software > http://www.Darkfalz.com > --------------------------------------------------------- > ..Offering free scripts & code snippits for everyone... > --------------------------------------------------------- > > > "jason" <jason@catamaranco.com> wrote in message > news:upDSGHMcDHA.2940@TK2MSFTNGP11.phx.gbl... > > Database: Access 2000 > > > > How does one switch a converted currency format back to a plain integer in > > Asp. I have tried Cint but this produces an overflow error for the > > following: > > > > NewPrice = CInt(Request.Form.Item("NewPrice")) > > > > Microsoft VBScript runtime (0x800A0006) > > Overflow: 'Cint' > > > > > > > > |
| All times are GMT. The time now is 06:59 PM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.