Skip to Content
avatar image
Former Member

xMII format() uses round-half-up algorithm. We need scientific round-all-up

Hi,

In xMII built-in function, format()

uses the round-half-up algorithm for

rounding. For instance, 96.8855 rounds

up to 96.886 and 96.8865 rounds down to 96.886 for 3 decimal.

This type of round-half-up algorithm

usually is used in Banker's Industry.

Is there any way in xMII to provide

the scientific round-full-up algorithm?

For instance, 96.8855 rounds up to 96.886

and 96.8865 rounds up to 96.887.

Appreciate for prompt response as the

project is in the stage of final

validation. We need to find the

workaround ASAP.

Thanks a lot,

Leey

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Apr 03, 2008 at 06:01 PM

    round(96.8865 * 1000.0) / 1000.0

    Add comment
    10|10000 characters needed characters exceeded