Máy tính làm tròn tiền mặt (làm tròn nửa lên / làm tròn lên / bước 0,05)

Làm tròn số tiền mặt theo quy tắc của cửa hàng, thông lệ quốc gia hoặc đặc tả nội bộ.

Hỗ trợ bước 0.05, làm tròn gần nhất, phần chênh lệch hiển thị, dán hàng loạt và cài đặt có thể chia sẻ.

Có thể chia sẻ quy tắc URL Khôi phục thiết lập trước đó Dán hàng loạt with total diff

Công cụ này bao gồm gì

0.05 / 0.10 / 1

Chọn the làm tròn step that matches your tiền mặt workflow, from 0.05 to 100.

Apply target

Keep the context with the quy tắc, such as subtotal, total, tax only, or a custom target.

Diff / hướng

Always show the trước value, rounded value, chênh lệch, and hướng for xem lại and audit explanations.

Batch processing

Paste many amounts at once, then sao chép the table as TSV or export it as CSV.

Cách sử dụng

  1. Nhập the amount, làm tròn quy tắc, and step.
  2. Chọn the apply target and tie quy tắc when needed.
  3. Xem lại the trước value, rounded value, chênh lệch, and hướng.
  4. Chia sẻ the current setup or switch to batch paste for a larger list.

Ví dụ

Làm tròn tiền mặt theo bước 0.05

Đầu vào

Làm tròn 12.34 với gần nhất / 0.05 / nửa lên / tổng

Đầu ra

Giá trị sau làm tròn 12.35, chênh lệch +0.01

Làm tròn xuống tới 10

Đầu vào

Làm tròn 109 với floor / 10 / subtotal

Đầu ra

Giá trị sau làm tròn 100, chênh lệch -9

Xử lý hàng loạt

Đầu vào

Dán 12.34, 99.99 và -1.02 cùng lúc

Đầu ra

Xem lại từng dòng đã làm tròn và xuất tổng chênh lệch ra CSV

Các quy tắc làm tròn khác nhau như thế nào

Tiền mặt làm tròn is often applied to the final payable amount, tax amounts, or displayed prices. Even with the same 0.05 step, nearest, round up, and round down produce different kết quả.

Store quy tắc are easier to misread when the apply target and tie quy tắc are omitted, so this page keeps the quy tắc summary visible next to the kết quả.

Câu hỏi thường gặp

Can I round to 0.05?

Yes. Chọn 0.05 as the step, then select round half up, round up, round down, or nearest. In nearest phương thức you can also chọn how ties are handled.

Can I use it together with tax calculations?

Tax calculation itself belongs in a separate tool. This page only rounds the value you nhập, and it is designed to reuse the same quy tắc definition as a tax-conversion workflow.

Can I paste multiple values at once?

Yes. The batch tab accepts multiple lines and lets you export the kết quả as CSV or sao chép it as TSV.

Can it round negative amounts?

Yes. Returns and discounts can be rounded as negative values. Because the meaning of round up, round down, and tie handling changes with negatives, always xem lại the kết quả carefully.

Does it avoid decimal precision errors?

Yes. The calculation uses decimal-safe integer scaling internally, so steps like 0.05 are not handled with binary floating-point arithmetic.

Lưu ý quan trọng

  • Làm tròn quy tắc differ by store, country, and payment type. Always chọn the quy tắc that matches your own policy.
  • This tool calculates from the cài đặt you selected. It does not decide the legally correct quy tắc for you.
  • Đầu vàos stay inside the trình duyệt and are not sent to the máy chủ.
  • Round up and round down are easy to misread for negative values, so xem lại the examples trước sharing a quy tắc.