Table of Contents

Method ToInt32

Namespace
Zyl.VectorTraits.Numerics
Assembly
VectorTraits.dll

ToInt32(bool)

Convert bool to Int32 (将 bool 转为 Int32).

[CLSCompliant(false)]
public static int ToInt32(bool b)

Parameters

b bool

Source bool value (源 bool 值)

Returns

int

A int value (一个整数值). false is 0, true is 1 .