Checked Module
Functions and values
| Function or value |
Description
|
Full Usage:
int8 value
Parameters:
^T
Returns: sbyte
Modifiers: inline Type parameters: ^T (requires (static member op_Explicit : ^T -> Microsoft.FSharp.Core.int8)) |
Converts the argument to signed byte.
This is a direct, checked conversion for all
primitive numeric types. For strings, the input is converted using
Example
Multiple items
module Checked from Microsoft.FSharp.Core.Operators -------------------- module Checked from Microsoft.FSharp.Core.ExtraTopLevelOperators val int8: value: 'T -> sbyte (requires member op_Explicit)
Evaluates to -12y.
Example
Multiple items
module Checked from Microsoft.FSharp.Core.Operators -------------------- module Checked from Microsoft.FSharp.Core.ExtraTopLevelOperators val int8: value: 'T -> sbyte (requires member op_Explicit)
Throws System.OverflowException.
|
Full Usage:
uint8 value
Parameters:
^T
Returns: byte
Modifiers: inline Type parameters: ^T (requires (static member op_Explicit : ^T -> Microsoft.FSharp.Core.uint8)) |
Converts the argument to byte.
This is a direct, checked conversion for all
primitive numeric types. For strings, the input is converted using
Example
Multiple items
module Checked from Microsoft.FSharp.Core.Operators -------------------- module Checked from Microsoft.FSharp.Core.ExtraTopLevelOperators val uint8: value: 'T -> byte (requires member op_Explicit)
Evaluates to -12y.
Example
Multiple items
module Checked from Microsoft.FSharp.Core.Operators -------------------- module Checked from Microsoft.FSharp.Core.ExtraTopLevelOperators val uint8: value: 'T -> byte (requires member op_Explicit)
Throws System.OverflowException.
|
FSharp.Core