number seperation in ASP

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default number seperation in ASP

    Hi,
    Let's say I have a form value which would come back a decimal number (ie.
    25.45)

    I need to first take the whole number and multiple it by 14 and then add it
    the number after the point.. but taking that number as a whole number
    itself.

    so I would do 25 * 14 = 350
    350 +45 = 395

    The only way I can think of seperating them is to use the split function...
    would that the best method?

    James


    Jamesy Guest

  2. Similar Questions and Discussions

    1. Comma Seperation List and Join Statement
      Hi I have a table with a field that contains a comma sperated list of userID's (e.g c43, c45, c48). I'm trying to join the users table with this...
    2. Seperation anomoly captain!!!
      Hi all, when I look at the plates in Acrobat, my text which is black only, appears on all plates, this is very strange, have tested it with a pic...
    3. Colour Seperation in 11?
      Hello, just upgraded from 10 to 11. Part of my job is to check all the colour seperations before i send it to the printer....so I have to be...
    4. Epson 3000 RIP 4.51 - No seperation options
      Whats up with the lack of seperation printing options for Freehand 10, when printing via the Epson 300 Stylus Rip 4.51 software? I'm on the...
    5. Address Seperation Question
      I have a database with a field that contains: <Company Name> <Address> <City> <State> <Zip> <Phone> in one field. I also have individual...
  3. #2

    Default Re: number seperation in ASP

    I would use Split at the decimal - it's the most logical approach, i think.
    HTH
    Rob
    [url]http://robgt.com[/url]


    RobGT Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139