Lines Matching defs:Decimal

223     setValueAsDecimal(Decimal::fromDouble(doubleValue), eventBehavior, exceptionState);
226 void InputType::setValueAsDecimal(const Decimal&, TextFieldEventBehavior, ExceptionState& exceptionState) const
272 const Decimal numericValue = parseToNumberOrNaN(value);
284 const Decimal numericValue = parseToNumberOrNaN(value);
291 Decimal InputType::defaultValueForStepUp() const
311 const Decimal numericValue = parseToNumberOrNaN(value);
324 const Decimal numericValue = parseToNumberOrNaN(value);
337 const Decimal numericValue = parseToNumberOrNaN(value);
350 String InputType::rangeOverflowText(const Decimal&) const
356 String InputType::rangeUnderflowText(const Decimal&) const
396 const Decimal numericValue = parseToNumberOrNaN(value);
410 Decimal candidate1 = stepRange.clampValue(numericValue);
412 Decimal candidate2 = candidate1 < numericValue ? candidate1 + stepRange.step() : candidate1 - stepRange.step();
429 Decimal InputType::parseToNumber(const String&, const Decimal& defaultValue) const
435 Decimal InputType::parseToNumberOrNaN(const String& string) const
437 return parseToNumber(string, Decimal::nan());
446 String InputType::serialize(const Decimal&) const
776 Decimal InputType::findClosestTickMarkValue(const Decimal&)
779 return Decimal::nan();
819 const Decimal current = parseToNumberOrNaN(element().value());
824 Decimal newValue = current + stepRange.step() * count;
830 const Decimal acceptableErrorValue = stepRange.acceptableError();
855 bool InputType::getAllowedValueStep(Decimal* step) const
929 const Decimal step = stepRange.step();
940 Decimal current = parseToNumberOrNaN(currentStringValue);
943 const Decimal nextDiff = step * n;
955 const Decimal base = stepRange.stepBase();
956 Decimal newValue;
988 Decimal InputType::findStepBase(const Decimal& defaultValue) const
990 Decimal stepBase = parseToNumber(element().fastGetAttribute(minAttr), Decimal::nan());
996 StepRange InputType::createStepRange(AnyStepHandling anyStepHandling, const Decimal& stepBaseDefault, const Decimal& minimumDefault, const Decimal& maximumDefault, const StepRange::StepDescription& stepDescription) const
998 const Decimal stepBase = findStepBase(stepBaseDefault);
999 const Decimal minimum = parseToNumber(element().fastGetAttribute(minAttr), minimumDefault);
1000 const Decimal maximum = parseToNumber(element().fastGetAttribute(maxAttr), maximumDefault);
1001 const Decimal step = StepRange::parseStep(anyStepHandling, stepDescription, element().fastGetAttribute(stepAttr));