get_first: Get first digit

Description Usage Arguments Value

View source: R/get_first.r

Description

Returns the first digit of a larger number.

Usage

1

Arguments

x

a large number (of class numeric or integer)

Value

The first digit.


andrewpbray/reed-oilabs documentation built on April 8, 2020, 2:26 a.m.