write_out_n: Write out a count

Description Usage Arguments Value

View source: R/salim-GEN.R

Description

Write out a count

Usage

1
2
3
4
5
6
7
write_out_n(
  n,
  lang = c("en", "de"),
  use_singular = FALSE,
  use_dual = FALSE,
  strip_article = use_dual
)

Arguments

n

The count to write out in letters. A non-negative integer scalar.

lang

The language to write out n in.

use_singular

Use a definite descriptor for n = 0 and n = 1 instead of the indistinct number. A logical scalar.

use_dual

Use a definite descriptor for n = 2 instead of the indistinct number. A logical scalar.

strip_article

Strip the definite article from the definite descriptors. Only relevant if at least one of use_singular or use_dual is TRUE. A logical scalar.

Value

A character scalar.


salim-b/salim documentation built on April 6, 2021, 10:15 a.m.