toBase: Convert integer value to other base

View source: R/RcppExports.R

toBaseR Documentation

Convert integer value to other base

Description

Converts integer value to other base.

Usage

toBase(x, base = 2L)

Arguments

x

positive integer representing the number to convert.

base

positive integer representing the base.

Value

The function returns a numeric vector containing representation of x in a base given in base.

Examples

toBase(888, 5)

mnorm documentation built on May 29, 2024, 2:05 a.m.

Related to toBase in mnorm...