Since: 8.6

final class IntlNumberRangeFormatter (View source)

Constants

COLLAPSE_AUTO

COLLAPSE_NONE

COLLAPSE_UNIT

COLLAPSE_ALL

IDENTITY_FALLBACK_SINGLE_VALUE

IDENTITY_FALLBACK_APPROXIMATELY_OR_SINGLE_VALUE

IDENTITY_FALLBACK_APPROXIMATELY

IDENTITY_FALLBACK_RANGE

Methods

createFromSkeleton(string $skeleton, string $locale, int $collapse, int $identityFallback)

No description

string
format(int|float $start, int|float $end)

No description

int
getErrorCode()

No description

string
getErrorMessage()

No description

Details

static IntlNumberRangeFormatter createFromSkeleton(string $skeleton, string $locale, int $collapse, int $identityFallback)

No description

Parameters

string $skeleton
string $locale
int $collapse
int $identityFallback

Return Value

IntlNumberRangeFormatter

string format(int|float $start, int|float $end)

No description

Parameters

int|float $start
int|float $end

Return Value

string

int getErrorCode()

No description

Return Value

int

string getErrorMessage()

No description

Return Value

string