Method Number
| Improve this Doc View SourceNumber(Nullable<Byte>)
Converts a byte value into number JSON value.
Declaration
public static JsonValue Number(byte? x)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Byte> | x | The value. |
Returns
Type | Description |
---|---|
JsonValue | The result JSON value. |
Number(Byte)
Converts a byte value into number JSON value.
Declaration
public static JsonValue Number(byte x)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | x | The value. |
Returns
Type | Description |
---|---|
JsonValue | The result JSON value. |
Number(Nullable<Int16>)
Converts a Int16 value into number JSON value.
Declaration
public static JsonValue Number(short? x)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Int16> | x | The value. |
Returns
Type | Description |
---|---|
JsonValue | The result JSON value. |
Number(Int16)
Converts a Int16 value into number JSON value.
Declaration
public static JsonValue Number(short x)
Parameters
Type | Name | Description |
---|---|---|
System.Int16 | x | The value. |
Returns
Type | Description |
---|---|
JsonValue | The result JSON value. |
Number(Nullable<Int32>)
Converts a Int32 value into number JSON value.
Declaration
public static JsonValue Number(int? x)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Int32> | x | The value. |
Returns
Type | Description |
---|---|
JsonValue | The result JSON value. |
Number(Int32)
Converts a Int32 value into number JSON value.
Declaration
public static JsonValue Number(int x)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | x | The value. |
Returns
Type | Description |
---|---|
JsonValue | The result JSON value. |
Number(Nullable<Int64>)
Converts a Int64 value into number JSON value.
Declaration
public static JsonValue Number(long? x)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Int64> | x | The value. |
Returns
Type | Description |
---|---|
JsonValue | The result JSON value. |
Number(Int64)
Converts a Int64 value into number JSON value.
Declaration
public static JsonValue Number(long x)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | x | The value. |
Returns
Type | Description |
---|---|
JsonValue | The result JSON value. |
Number(Nullable<Single>)
Converts a Single value into number JSON value.
Declaration
public static JsonValue Number(float? x)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Single> | x | The value. |
Returns
Type | Description |
---|---|
JsonValue | The result JSON value. |
Number(Single)
Converts a Single value into number JSON value.
Declaration
public static JsonValue Number(float x)
Parameters
Type | Name | Description |
---|---|---|
System.Single | x | The value. |
Returns
Type | Description |
---|---|
JsonValue | The result JSON value. |
Number(Nullable<Double>)
Converts a Double value into number JSON value.
Declaration
public static JsonValue Number(double? x)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Double> | x | The value. |
Returns
Type | Description |
---|---|
JsonValue | The result JSON value. |
Number(Double)
Converts a Double value into number JSON value.
Declaration
public static JsonValue Number(double x)
Parameters
Type | Name | Description |
---|---|---|
System.Double | x | The value. |
Returns
Type | Description |
---|---|
JsonValue | The result JSON value. |
Number(Nullable<Decimal>)
Converts a Decimal value into number JSON value.
Declaration
public static JsonValue Number(decimal? x)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Decimal> | x | The value. |
Returns
Type | Description |
---|---|
JsonValue | The result JSON value. |
Number(Decimal)
Converts a Decimal value into number JSON value.
Declaration
public static JsonValue Number(decimal x)
Parameters
Type | Name | Description |
---|---|---|
System.Decimal | x | The value. |
Returns
Type | Description |
---|---|
JsonValue | The result JSON value. |
Number(String)
Converts a String value into number JSON value.
Declaration
public static JsonValue Number(string x)
Parameters
Type | Name | Description |
---|---|---|
System.String | x | The value. |
Returns
Type | Description |
---|---|
JsonValue | The result JSON value. |