Lines Matching refs:mxfd
543 // 7. Let mxfd be ? Get(options, "maximumFractionDigits").
545 JSHandle<JSTaggedValue> mxfd = JSTaggedValue::GetProperty(thread, options, mxfdKey).GetValue();
574 if (!mnfd->IsUndefined() || !mxfd->IsUndefined()) {
575 // 12. Else if mnfd is not undefined or mxfd is not undefined, then
578 if (!mxfd->IsUndefined()) {
580 JSTaggedValue(JSLocale::DefaultNumberOption(thread, mxfd, 0, MAX_FRACTION_DIGITS, mxfdDefault));
582 mxfd = JSHandle<JSTaggedValue>(thread, mxfdValue);
583 mnfdDefault = std::min(mnfdDefault, mxfd->GetInt());
590 // d. Let mxfd be ? DefaultNumberOption(mxfd, mnfd, 20, mxfdActualDefault).
591 mxfd = JSHandle<JSTaggedValue>(
592 thread, JSTaggedValue(JSLocale::DefaultNumberOption(thread, mxfd, mnfd->GetInt(),
597 // f. Set intlObj.[[MaximumFractionDigits]] to mxfd.
598 intlObj->SetMaximumFractionDigits(thread, mxfd);