首页- 单词大全
您的足迹:

英文单词大全搜索

bigdecimal是什么意思 bigdecimal的用法例句

bigdecimal(意思翻译)

bigdecimal



bigdecimal(双语使用场景)

1、Conversion from BigDecimal objects into Float numbers had a problem which enables attackers to effectively cause segmentation faults.───将BigDecimal对象转换成Float数的时候会导致一个问题,这个问题使得攻击者能够很容易得到段错误。

2、Thus, using simple data types, such as string, integer, float, and even BigDecimal, are natural.───因此,可以自然地使用简单的数据类型,比如 string、integer、 float,甚至是 BigDecimal。

3、If you need to represent fixed point Numbers, such as dollars and cents, use BigDecimal instead.───如果需要表示定点数(譬如,几美元和几美分),则使用BigDecimal。

4、In Listing 10, the quantity starts the method call, which moves through Integer, then BigDecimal, finally returning an Ingredient.───在清单10中,数量开始方法调用,开始是Integer,然后是BigDecimal,最后返回Ingredient。

5、Arithmetic on BigDecimal values is provided by methods for addition, subtraction, multiplication, and division.───用于加、减、乘和除的方法给BigDecimal值提供了算术运算。

6、For this reason, BigDecimal gives you explicit control over rounding when performing division operations.───出于这个原因,在进行除法运算时,BigDecimal可以让您显式地控制舍入。

7、If you are looking to represent exact quantities such as monetary amounts, BigDecimal is well-suited to the task.───如果您正在寻找一种能精确表示如货币量这样的数值,则BigDecimal可以很好地胜任该任务。

8、Because BigDecimal objects are immutable, each of these methods produces a new BigDecimal object.───由于BigDecimal对象是不可变的,这些方法中的每一个都会产生新的BigDecimal对象。

9、Next, I need to exchange primitive datatypes (like double, int, and float) for objects like Integer and BigDecimal.───接下来,我需要将基本数据类型(如,double、int和float)转换为诸如Integer和BigDecimal的对象。



bigdecimal(英语使用场景)

1、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.

2、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.


bigdecimal(相关推荐)

最近查询的英语单词 更多