Skip to contents

Computes the order of magnitude (base-10 logarithm floor) of a positive number.

Usage

oom(x)

Arguments

x

A positive numeric value or vector.

Value

An integer or vector of integers representing floor(log10(x)).