forCur: Formats a numeric vector to the desired units and...

View source: R/numeric_format.R

forCurR Documentation

Formats a numeric vector to the desired units and concommitant styling

Description

Formats a numeric vector to the desired units and concommitant styling

Usage

forCur(x)

forCurGBP(x)

forCurArea(x)

forCurAreaGBP(x)

Arguments

x

A numeric of any length

Value

A formated character string

Functions

  • forCurGBP: Add Sterling sign

  • forCurArea: Add meter sq. signs for areas

  • forCurAreaGBP: Add Sterling and per meter sq. signs for cost per area

Examples

forCur(405556)
forCurGBP(346236)
forCurArea(452)
forCurAreaGBP(236)

aarong1/RshinyHelpers documentation built on June 15, 2022, 4:52 a.m.