Checked Module
Functions and values
Function or value |
Description
|
|
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 .
|
|
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 .
|