Module

# PreciseRational

- Package
- purescript-base-rationals
- Repository
- herrzinter/purescript-base-rationals

### #PreciseRational Source

`type PreciseRational = Ratio BigInt`

Type alias for a `Ratio`

of `BigInt`

s

### #fromInt Source

`fromInt :: Int -> PreciseRational`

Create a `PreciseRational`

from an `Int`

with denominator one

### #fromInts Source

`fromInts :: Int -> Int -> PreciseRational`

Create a `PreciseRational`

from two `Int`

s as numerator and denominator

### #fromBI Source

`fromBI :: BigInt -> PreciseRational`

Create a `PreciseRational`

from an `BigInt`

with denominator one

### #fromStrings Source

`fromStrings :: String -> String -> Maybe PreciseRational`

Try to create a `PreciseRational`

from two `String`

s as numerator and
denominator

- Modules
- BaseRationals
- PreciseFloat
- PreciseRational