Udostępnij za pośrednictwem


Double.Sum(Double, Double) Method

Definition

Adds two double values together as per the + operator.

[Android.Runtime.Register("sum", "(DD)D", "", ApiSince=24)]
public static double Sum (double a, double b);
[<Android.Runtime.Register("sum", "(DD)D", "", ApiSince=24)>]
static member Sum : double * double -> double

Parameters

a
Double

the first operand

b
Double

the second operand

Returns

the sum of a and b

Attributes

Remarks

Adds two double values together as per the + operator.

Added in 1.8.

Java documentation for java.lang.Double.sum(double, double).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to