NumberHelperGetRating Method |
获得分数的整数部分和小数部分
Namespace: AdfAssembly: Adf (in Adf.dll) Version: 4.1.5549.27750
Syntax public static void GetRating(
float rating,
out int bigInt,
out int smallInt
)
Public Shared Sub GetRating (
rating As Single,
<OutAttribute> ByRef bigInt As Integer,
<OutAttribute> ByRef smallInt As Integer
)
public:
static void GetRating(
float rating,
[OutAttribute] int% bigInt,
[OutAttribute] int% smallInt
)
static member GetRating :
rating : float32 *
bigInt : int byref *
smallInt : int byref -> unit
Parameters
- rating
- Type: SystemSingle
[Missing <param name="rating"/> documentation for "M:Adf.NumberHelper.GetRating(System.Single,System.Int32@,System.Int32@)"]
- bigInt
- Type: SystemInt32
[Missing <param name="bigInt"/> documentation for "M:Adf.NumberHelper.GetRating(System.Single,System.Int32@,System.Int32@)"]
- smallInt
- Type: SystemInt32
[Missing <param name="smallInt"/> documentation for "M:Adf.NumberHelper.GetRating(System.Single,System.Int32@,System.Int32@)"]
See Also