Lines Matching refs:notation
169 JSHandle<JSTaggedValue> OptionToEcmaString(JSThread *thread, NotationOption notation)
173 switch (notation) {
626 // 19. Let notation be ? GetOption(
627 // options, "notation", "string", « "standard", "scientific", "engineering", "compact" », "standard").
629 auto notation = JSLocale::GetOptionOfString<NotationOption>(
634 numberFormat->SetNotation(notation);
636 // 21. Perform ? SetNumberFormatDigitOptions(numberFormat, options, mnfdDefault, mxfdDefault, notation).
638 mnfdDefault, mxfdDefault, notation);
651 if (notation == NotationOption::COMPACT) {
654 icuNumberFormatter = icuNumberFormatter.notation(icu::number::Notation::compactShort());
657 icuNumberFormatter = icuNumberFormatter.notation(icu::number::Notation::compactLong());
663 switch (notation) {
665 icuNumberFormatter = icuNumberFormatter.notation(icu::number::Notation::simple());
668 icuNumberFormatter = icuNumberFormatter.notation(icu::number::Notation::scientific());
671 icuNumberFormatter = icuNumberFormatter.notation(icu::number::Notation::engineering());
1012 // [[Notation]] "notation"
1132 NotationOption notation = numberFormat->GetNotation();
1133 JSHandle<JSTaggedValue> notationString = OptionToEcmaString(thread, notation);
1137 // Only output compactDisplay when notation is compact.
1138 if (notation == NotationOption::COMPACT) {