Join us for
RADAR: AI Edition

nonmemica (version 1.0.8)

text2decimal: Convert Text to Decimal

Description

Scavenge text for first reasonably-inferred numeric value.

Usage

text2decimal(x)

Value

numeric

Arguments

x

character

See Also

Other util: %contains%(), as.best.default(), as.best(), enclose(), locf(), padded(), parens(), pool(), runhead()

Examples

Run this code
text2decimal('30 mg')

Run the code above in your browser using DataLab