青年中文青年中文

bigdecimal的意思

bigdecimal中文翻譯:

bigdecimal

相似詞語短語
雙語使用場景

Thus, using simple data types, such as string, integer, float, and even BigDecimal, are natural.───因此,可以自然地使用簡單的數據類型,比如 string、integer、 float,甚至是 BigDecimal。

Because BigDecimal objects are immutable, each of these methods produces a new BigDecimal object.───由于BigDecimal對象是不可變的,這些方法中的每一個都會產生新的BigDecimal對象。

If you need to represent fixed point Numbers, such as dollars and cents, use BigDecimal instead.───如果需要表示定點數(譬如,幾美元和幾美分),則使用BigDecimal。

Conversion from BigDecimal objects into Float numbers had a problem which enables attackers to effectively cause segmentation faults.───將BigDecimal對象轉換成Float數的時候會導致一個問題,這個問題使得攻擊者能夠很容易得到段錯誤。

For this reason, BigDecimal gives you explicit control over rounding when performing division operations.───出于這個原因,在進行除法運算時,BigDecimal可以讓您顯式地控制舍入。

Arithmetic on BigDecimal values is provided by methods for addition, subtraction, multiplication, and division.───用于加、減、乘和除的方法給BigDecimal值提供了算術運算。

In Listing 10, the quantity starts the method call, which moves through Integer, then BigDecimal, finally returning an Ingredient.───在清單10中,數量開始方法調用,開始是Integer,然后是BigDecimal,最后返回Ingredient。

Next, I need to exchange primitive datatypes (like double, int, and float) for objects like Integer and BigDecimal.───接下來,我需要將基本數據類型(如,double、int和float)轉換為諸如Integer和BigDecimal的對象。

If you are looking to represent exact quantities such as monetary amounts, BigDecimal is well-suited to the task.───如果您正在尋找一種能精確表示如貨幣量這樣的數值,則BigDecimal可以很好地勝任該任務。

英語使用場景

Instead, construct the BigDecimal using BigDecimal("0.01") or BigDecimal(1, 2) to avoid this problem, since either of these will result in an exact decimal representation.

Your field tag now displays an inputText field if the value binding is of type Integer, String, BigDecimal, Character, Long, Short, Byte, Float, Double, short, int, char, etc.