gagolews / gagolews/stringi

Number Format (format and parse)

Open
#81 4 comments 0 reactions 1 assignee Claimed by @gagolews View on GitHub
Dominant language
C++
Stars
318
Forks
48
PR merge metrics
No merged PRs in 30d

Description

Formatter types: URBNF_SPELLOUT, which creates a formatter that spells out a value in words in the desired language, URBNF_ORDINAL, which attaches an ordinal suffix from the desired language to the end of a number (e.g. "123rd"), URBNF_DURATION, which formats a duration in seconds as hours, minutes, and seconds, and URBNF_NUMBERING_SYSTEM, which is used to invoke rules for alternate numbering systems such as the Hebrew numbering system, or for Roman Numerals, etc.

```
icu::RuleBasedNumberFormat::RuleBasedNumberFormat ( URBNFRuleSetTag tag,
const Locale & locale,
UErrorCode & status
)
```

```
virtual UnicodeString & format (double number, UnicodeString &toAppendTo, FieldPosition &pos) const
```

parse: lenient...

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.