as.num.char: Convert a string to numeric

Description Usage Arguments Value Examples

View source: R/juantools.R

Description

Convert any character to numeric, drop commas, dollar signs, etc

Usage

1

Arguments

x

A string representing a number

Value

x A numeric representation of x

Examples

1
as.num.char('$1,000.00')

juanfung/juantools documentation built on Jan. 1, 2021, 7:12 a.m.