FluentNumber
Object → FluentType → FluentNumber
The number with formatting options, numbers passed as variables are wrapped in it automatically.
Constructor
FluentNumber(value: number, options: fluent.NumberOptions?): FluentNumberFields
| Name | Type | Description |
|---|---|---|
value | number | The number. |
options | fluent.NumberOptions | nil | The formatting options, must not be changed since they can be shared. |
Methods
#FluentNumber:toString
function FluentNumber:toString(scope?: fluent.Scope): string
Parameters
| Name | Type | Description |
|---|---|---|
scopeoptional | fluent.Scope |
Returns
| Type | Name | Description |
|---|---|---|
string |