rounding floating numbers

Results 1 to 3 of 3

Thread: rounding floating numbers

  1. #1
    Join Date
    Dec 1969

    Default rounding floating numbers

    i am having an issue with an ecommerce site. I am using round(num,place) to round float type numbers. The problem is that the round function rounds down .5, for example. 2.5 would be 2.0. This is costing me pennies a day, which eventually throughout the year could be dollars. Any idea on how to make a .5 number round up?

  2. #2
    Join Date
    Dec 1969

    Default Float.Round() ?

    Have a bash, see if it works... I seem to vaguely recall it doing so for my colleague.

  3. #3
    Join Date
    Dec 1969

    Default Fix()

    Isn&#039;t there something like Fix() in VBScript...<BR><BR>-Doug

Posting Permissions

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