Searched refs:notation (Results 1 - 2 of 2) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_number_format.cpp | 169 JSHandle<JSTaggedValue> OptionToEcmaString(JSThread *thread, NotationOption notation) in OptionToEcmaString() argument 173 switch (notation) { in OptionToEcmaString() 626 // 19. Let notation be ? GetOption( in InitializeNumberFormat() 627 // options, "notation", "string", « "standard", "scientific", "engineering", "compact" », "standard"). in InitializeNumberFormat() 629 auto notation = JSLocale::GetOptionOfString<NotationOption>( in InitializeNumberFormat() local 634 numberFormat->SetNotation(notation); in InitializeNumberFormat() 636 // 21. Perform ? SetNumberFormatDigitOptions(numberFormat, options, mnfdDefault, mxfdDefault, notation). in InitializeNumberFormat() 638 mnfdDefault, mxfdDefault, notation); in InitializeNumberFormat() 651 if (notation == NotationOption::COMPACT) { in InitializeNumberFormat() 654 icuNumberFormatter = icuNumberFormatter.notation(ic in InitializeNumberFormat() 1132 NotationOption notation = numberFormat->GetNotation(); ResolvedOptions() local [all...] |
H A D | js_locale.h | 514 // 12.1.1 SetNumberFormatDigitOptions ( intlObj, options, mnfdDefault, mxfdDefault, notation ) 518 NotationOption notation) in SetNumberFormatDigitOptions() 599 } else if (notation == NotationOption::COMPACT) { in SetNumberFormatDigitOptions() 600 // 13. Else if notation is "compact", then in SetNumberFormatDigitOptions() 516 SetNumberFormatDigitOptions(JSThread *thread, const JSHandle<T> &intlObj, const JSHandle<JSTaggedValue> &options, int mnfdDefault, int mxfdDefault, NotationOption notation) SetNumberFormatDigitOptions() argument
|
Completed in 4 milliseconds