Skip to content

ToSingle Method ​

Definition ​

  • Namespace: JASE
  • Assembly: JASE.dll

Overloads ​

NameDescription
bool ToSingle(decimal value, out float result)Checks the validity of the input value against the safe range, provides converted result if within the proper range
bool ToSingle(double value, out float result)Checks the validity of the input value against the safe range, provides converted result if within the proper range

bool ToSingle(decimal value, out float result) ​

csharp
bool ToSingle(decimal value, out float result)

Checks the validity of the input value against the safe range, provides converted result if within the proper range

Returns ​

if the value is an exact integral value within the valid range; otherwise .

bool ToSingle(double value, out float result) ​

csharp
bool ToSingle(double value, out float result)

Checks the validity of the input value against the safe range, provides converted result if within the proper range

Returns ​

if the value is an exact integral value within the valid range; otherwise .