decimals: decimals

Description Usage Arguments Details Value Author(s) Examples

Description

rounds number to a specific decimal and converts to string

Usage

1
decimals(x, k)

Arguments

x

numeric. Number to be rounded

k

numeric. Decimal positions

Details

rounds number to a specific decimal and converts to string

Value

string of rounded x with k decimals

Author(s)

Alex Zabeo

Examples

1
decimals(84.05041,2)

azabeo/extrapolation documentation built on May 11, 2019, 5:16 p.m.