Share via


ChoiceFormat.PreviousDouble(Double) Method

Definition

Finds the greatest double less than d.

[Android.Runtime.Register("previousDouble", "(D)D", "")]
public static double PreviousDouble (double d);
[<Android.Runtime.Register("previousDouble", "(D)D", "")>]
static member PreviousDouble : double -> double

Parameters

d
Double

the reference value

Returns

the greatest double value less than d

Attributes

Remarks

Finds the greatest double less than d. If NaN, returns same value.

Java documentation for java.text.ChoiceFormat.previousDouble(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