first.decimal.digit: Get out the leading (left-most) digit in the base-10...

View source: R/carithmetic.R

first.decimal.digitR Documentation

Get out the leading (left-most) digit in the base-10 representation of an integer / float.

Description

Get out the leading (left-most) digit in the base-10 representation of an integer / float.

Usage

first.decimal.digit(number)

Arguments

number

an integer / float


ddarmon/MUsaic documentation built on June 19, 2024, 6:43 p.m.