Skip to contents

Coerce to a positive double.

Usage

type.positive_double(x)

Arguments

x

object to be coerced or tested.

Value

the input as a positive double, error if this would involve data loss.