data type

Results 1 to 3 of 3

Thread: data type

  1. #1
    unicorn11 Guest

    Default data type

    I have a float type column in a sql database <BR>but i am presently storing numeric data in that column<BR>I want to take that value and then increase it by one<BR>in access it worked properly but since it is in sql it does not work <BR>How in vbscript or asp do you specify that the variable that you are talking the value in do i convert in into numeric format <BR>so that i can increase it by one<BR>

  2. #2
    sunder Guest

    Default RE: data type

    use cint()

  3. #3
    pavankks Guest

    Default RE: data type

    Well send a querystring to the database if you r using the get method or use the request method if you using the post method. then use the following to convert the float type to interger type in asp or vbscript.<BR><BR>use Cint(expression)<BR><BR>this will convert an expression into a variant of subtype integer.<BR><BR>example:<BR><BR>Cint(23.45) returns 23<BR><BR>cint(23) returns 23

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts