bigdecimal怎么讀(bigdecimal中文翻譯,bigdecimal是什么意思,bigdecimal發(fā)音、用法及例句)
?bigdecimal
bigdecimal發(fā)音
英: 美:
bigdecimal中文意思翻譯
常見(jiàn)釋義:
bigdecimal
bigdecimal雙語(yǔ)使用場(chǎng)景
1、If you are looking to represent exact quantities such as monetary amounts, BigDecimal is well-suited to the task.───如果您正在尋找一種能精確表示如貨幣量這樣的數值,則BigDecimal可以很好地勝任該任務(wù)。
2、Next, I need to exchange primitive datatypes (like double, int, and float) for objects like Integer and BigDecimal.───接下來(lái),我需要將基本數據類(lèi)型(如,double、int和float)轉換為諸如Integer和BigDecimal的對象。
3、Thus, using simple data types, such as string, integer, float, and even BigDecimal, are natural.───因此,可以自然地使用簡(jiǎn)單的數據類(lèi)型,比如 string、integer、 float,甚至是 BigDecimal。
4、Conversion from BigDecimal objects into Float numbers had a problem which enables attackers to effectively cause segmentation faults.───將BigDecimal對象轉換成Float數的時(shí)候會(huì )導致一個(gè)問(wèn)題,這個(gè)問(wèn)題使得攻擊者能夠很容易得到段錯誤。
5、If you need to represent fixed point Numbers, such as dollars and cents, use BigDecimal instead.───如果需要表示定點(diǎn)數(譬如,幾美元和幾美分),則使用BigDecimal。
6、For this reason, BigDecimal gives you explicit control over rounding when performing division operations.───出于這個(gè)原因,在進(jìn)行除法運算時(shí),BigDecimal可以讓您顯式地控制舍入。
7、Because BigDecimal objects are immutable, each of these methods produces a new BigDecimal object.───由于BigDecimal對象是不可變的,這些方法中的每一個(gè)都會(huì )產(chǎn)生新的BigDecimal對象。
8、In Listing 10, the quantity starts the method call, which moves through Integer, then BigDecimal, finally returning an Ingredient.───在清單10中,數量開(kāi)始方法調用,開(kāi)始是Integer,然后是BigDecimal,最后返回Ingredient。
9、Arithmetic on BigDecimal values is provided by methods for addition, subtraction, multiplication, and division.───用于加、減、乘和除的方法給BigDecimal值提供了算術(shù)運算。
怎么將null轉換為BigDecimal類(lèi)型?
String moneystr= request.getParameter(\"sumMoney\"); if (moneystr==null) moneystr=\"0\";BigDecimal money = new BigDecimal(moneystr);
版權聲明: 本站僅提供信息存儲空間服務(wù),旨在傳遞更多信息,不擁有所有權,不承擔相關(guān)法律責任,不代表本網(wǎng)贊同其觀(guān)點(diǎn)和對其真實(shí)性負責。如因作品內容、版權和其它問(wèn)題需要同本網(wǎng)聯(lián)系的,請發(fā)送郵件至 舉報,一經(jīng)查實(shí),本站將立刻刪除。