powered by
Scavenge text for first reasonably-inferred numeric value.
text2decimal(x)
character
numeric
# NOT RUN { text2decimal('30 mg') # }
Run the code above in your browser using DataLab