int_digits {baizer} | R Documentation |
trans numbers to a fixed integer digit length
Description
trans numbers to a fixed integer digit length
Usage
int_digits(x, digits = 2, scale_factor = FALSE)
Arguments
x |
number |
digits |
integer digit length |
scale_factor |
return the scale_factor instead of value |
Value
number
Examples
int_digits(0.0332, 1)
[Package baizer version 0.8.0 Index]