Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2005
    Location
    Lancaster PA, USA
    Posts
    33

    Unanswered: An easy question about rounding

    I'm stuck and I know this is not difficult to do. I'm calculating sales tax (adding 6%) for pricing and I need to round them. Is there a function for this? Any help will be appreciated.

  2. #2
    Join Date
    Nov 2004
    Location
    out on a limb
    Posts
    13,692
    Provided Answers: 59
    there should be....,
    forget what it is in VB could be round, fix, floor, int

    what does the help system suggest?
    I'd rather be riding on the Tiger 800 or the Norton

  3. #3
    Join Date
    Dec 2005
    Location
    Lancaster PA, USA
    Posts
    33

    it works

    thanks, i figured it out. It was rounding properly but calculations where using the pre-rounded number so it was giving different results than expected

  4. #4
    Join Date
    Jan 2004
    Location
    Norwich UK
    Posts
    20
    Bit late but.... Int()

Posting Permissions

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