on ‎2008 Apr 03 4:55 PM
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
Request clarification before answering.
round(96.8865 * 1000.0) / 1000.0
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.