rus2num: Convert string with a number in Russian tradition in numeric

View source: R/cbr.R

rus2numR Documentation

Convert string with a number in Russian tradition in numeric

Description

Russian standards prescribes to use comma as a decimal separator. This function removes spaces and converts string to number.

Usage

rus2num(x)

Arguments

x

the string with the number

Value

numeric the number converted from the string

Examples

rus2num("34 345,34")

bdemeshev/cbr documentation built on Sept. 23, 2024, 8:48 a.m.