共用方式為


Float.Sum(Single, Single) Method

Definition

Adds two float values together as per the + operator.

[Android.Runtime.Register("sum", "(FF)F", "", ApiSince=24)]
public static float Sum (float a, float b);
[<Android.Runtime.Register("sum", "(FF)F", "", ApiSince=24)>]
static member Sum : single * single -> single

Parameters

a
Single

the first operand

b
Single

the second operand

Returns

the sum of a and b

Attributes

Remarks

Adds two float values together as per the + operator.

Added in 1.8.

Java documentation for java.lang.Float.sum(float, float).

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