[]
Represents the converting of a value to a specified data type.
public sealed class CalcConvert
Public NotInheritable Class CalcConvert
| Name | Description |
|---|---|
| IsNumber(object) | Determines whether the specified value is a numeric data type. |
| ToBool(object) | Converts the specified value to a boolean value. |
| ToDateTime(object) | Converts the specified value to a DateTime value. |
| ToDouble(object) | Converts the specified value to a double-precision, floating-point number. |
| ToInt(object) | Converts the specified value to a 32-bit signed integer. |
| ToString(object) | Converts the specified value to a string representation. |
| ToTimeSpan(object) | Converts the specified value to a TimeSpan value. |
| TryConvert(object, ref decimal) | Convert a value to decimal value. The converted value is matched with IsNumber function. |
| TryConvert(object, ref double) | Convert a value to double value. The converted value is matched with IsNumber function. |
| TryToDouble(object, out double) | Converts the specified value to a double-precision, floating-point number. |