Giter Site home page Giter Site logo

Comments (2)

m-kawato avatar m-kawato commented on August 17, 2024

products.csv中の Tax/Vat Percentageを反映させるという理解で良いですか?
(例) Unit Selling Price: 23.45 Rs., Tax/Vat Percentage 14
→ Confirm, Receipt上では、23.45 * 1.14 の計算結果を表示

また、小数点以下3桁で切り捨て/切り上げのようなルールはありますか?
(例) 23.45 * 1.14 = 26.733 → 26.73 に丸める or 26.733 のままにする
内部的にはBigDecimal (10進小数) として扱っているので、特に丸めなくても問題ありません。

from tabletposapp.

Nobuyuki-y avatar Nobuyuki-y commented on August 17, 2024

>products.csv中の Tax/Vat Percentageを反映させるという理解で良いですか?
その通りです。

>また、小数点以下3桁で切り捨て/切り上げのようなルールはありますか?
特にルールは無く、最終的な一日のreconciliation(精算)にて総額で10の清算マージンがあります。
よって、内部上はBigDecimalで演算を行ない、Tablet上の各価格表示部分では少数点以下3桁四捨五入で表示でお願いします。

from tabletposapp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.