dreamworkAPI
Ctrl K
GitHub
classDocs / FluentNumber

FluentNumber

classsharedmenusource
Object → FluentType → FluentNumber

The number with formatting options, numbers passed as variables are wrapped in it automatically.

Constructor

FluentNumber(value: number, options: fluent.NumberOptions?): FluentNumber

Fields

NameTypeDescription
valuenumberThe number.
optionsfluent.NumberOptions | nilThe formatting options, must not be changed since they can be shared.

Methods

#FluentNumber:toString

nodiscardsource
function FluentNumber:toString(scope?: fluent.Scope): string
Parameters
NameTypeDescription
scopeoptionalfluent.Scope
Returns
TypeNameDescription
string
Generated from the dreamwork meta branch.