Sales Precalculation Rounding, number of decimal places - robinfeng/beashelp GitHub Wiki

舍ε…₯, 小数位数


Navigation: Sales > Precalculation: Rounding, number of decimal places No contents entries on this page Contents Rounding in calculation The calculation calculates all values and consistently rounds them to 6 decimal places.

Display As figures are displayed in different units (e.g. per 1 or per 1000) and the prices that are stored e.g. per 1000 must also be displayable per 1, the required number of decimal places is calculated for each number separately for the view. For values under 0.1, a view is displayed with up to 6 decimal places. For values over 1 million, no decimal places are displayed, allowing both small values and large values to be displayed with optimal use of space.

Example: Operation 1, job time: 3 minutes per 10000 pieces, costs: 1 € per minute Operation 2, job time: 20 hours, costs: 65 € per hour

View setting: 2 digits

Calculation view per 1 piece: Op 1: Price = 0,0003 € Op 2: Price = 1300,00 €

Calculation view per 100 000: Op 1: Price = 30,00 € Op 2: Price = 130.000.000 €

In this example you can see that depending on the amount or view the number of decimal places is very important. In the chemical industry, where values well below 1/1000% are used​​, a correct view is very important

Rounding decimals:

From 10000000: 0 Bis 10: 2 decimals 1 – 9: 4 decimals 0 – 1: 6 decimals

back to Pre-calculation


θΏ”ε›ž δΈ»ι‘΅