Contact

ROUNDBANK in WPS Spreadsheet: Syntax and Worked Examples

Math Intermediate WPS Spreadsheet

Round decimal values with WPS bankers rounding, including positive and negative halfway cases and values just beyond a tie.

Verification status: See the evidence and test scope described in this guide. How formula examples are checked

Quick answer: ROUNDBANK applies banker’s rounding: exact halfway cases go to the nearest result whose retained final digit is even. WPS demonstrates 10.545 → 10.54 and 11.535 → 11.54 at two decimal places.

Availability and evidence

These examples come from an official WPS Academy video showing the Chinese-language spreadsheet interface. The video’s exact operating system, build and license tier are unverified. Its demonstrated results are historical evidence, not a current installation test. Independently calculated examples are labeled separately. Check that your installation recognizes the function and reproduce the small control before using it in a report.

Syntax and arguments

=ROUNDBANK(number, decimal_digits)

The observed WPS dialog has a number field and a decimal-digits field. The demonstrated formula is =ROUNDBANK(B25,2). Here 2 requests a two-decimal-place result. No omitted-argument default or negative-digit behavior is established by this video.

What the tie rule means

The explanatory text visible in the vendor’s 53.073-second frame explicitly distinguishes exact halves from values beyond halfway. When the first discarded digit is 5 and all following digits are absent or zero, an odd retained digit is increased and an even retained digit is kept. A discarded 5 followed by a nonzero tail is beyond halfway and is rounded accordingly.

This is direct WPS evidence for halfway-to-even, not an assumption based on the name or another spreadsheet. For negative numbers, nearest-even describes the numerical result more clearly than saying that every 5 is rounded upward.

Example 1: reproduce all demonstrated inputs

Enter the following numbers down B25:B33 and fill =ROUNDBANK(B25,2) down the adjacent output column:

Input Vendor-displayed output
10.545 10.54
11.535 11.54
10.565 10.56
-1.315 -1.32
-1.325 -1.32
-1.315 -1.32
123.455001 123.46
123.555001 123.56
123.655001 123.66

The duplicate -1.315 is retained because it appears twice in the vendor worksheet. At 46.475 seconds the first output is shown, and at 53.073 seconds the filled range exposes all nine results. The selected first-row formula is visible in the formula bar.

Independent checks of ties and non-ties

10.545 is halfway between 10.54 and 10.55; the retained hundredths digit 4 is even, so the selected result is 10.54. For 11.535, the even alternative is 11.54. Both -1.315 and -1.325 round to -1.32, whose retained final digit is 2. The input 123.455001 is just beyond the midpoint 123.455, so it becomes 123.46. Its nonzero tail makes it a non-tie, even though the exact midpoint would also round to 123.46. The visible written rule, rather than this non-discriminating output alone, establishes how nonzero tails are treated.

The accompanying independent checks use decimal arithmetic on the written decimal strings. They confirm these mathematical expectations but do not establish WPS’s floating-point storage or its behavior on near-tie values generated by prior calculations.

Example 2: original positive and negative controls

Put 2.345, 2.355, -2.345 and -2.355 in A2:A5. Fill =ROUNDBANK(A2,2) down B2:B5. Under the vendor’s stated rule, the mathematically expected outputs are 2.34, 2.36, -2.34 and -2.36. For a contrasting non-tie, 2.345001 has expected result 2.35, because it lies just beyond 2.345. These original examples were independently calculated and were not run in WPS.

Troubleshooting and limits

  • Retain source values. Rounding changes calculated values; displaying fewer decimals alone is a different operation.
  • Examine all discarded digits. A visible ending in 5 does not establish an exact tie when additional stored digits exist.
  • Do not claim a financial or regulatory requirement from this function’s name. Use the rounding policy required for your particular calculation.
  • Negative digit counts, very large magnitudes, invalid inputs, omitted arguments and exact error codes remain unverified.
  • ROUND: Review ordinary rounding separately from halfway-to-even.

Official source

WPS Academy: ROUNDBANK. Reviewed vendor-video moments: 39.876 seconds, 46.475 seconds, 53.073 seconds. The source establishes the demonstrated workflow and outputs within the limits above.