Module
Data.Int
- Package
- purescript-integers
- Repository
- purescript/purescript-integers
#fromNumber Source
fromNumber :: Number -> Maybe Int
Creates an Int
from a Number
value. The number must already be an
integer and fall within the valid range of values for the Int
type
otherwise Nothing
is returned.
#fromString Source
fromString :: String -> Maybe Int
Reads an Int
from a String
value. The number must parse as an integer
and fall within the valid range of values for the Int
type, otherwise
Nothing
is returned.
#Radix Source
newtype Radix
The number of unique digits (including zero) used to represent integers in a specific base.
#hexadecimal Source
hexadecimal :: Radix
The base-16 system.
- Modules
- Data.
Int - Data.
Int. Bits