Skip to content
masterclass Buddy

Pydantic · Type Alias

NegativeFloat

NegativeFloat is a Pydantic type for float values below zero. Values equal to or above zero fail validation.

Last updated

Syntax

NegativeFloat

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • NonPositiveFloat
  • PositiveFloat
  • NonNegativeFloat
  • StrictFloat
  • Field()

Source: Pydantic Types | Pydantic Docs. Checked 2026-11-03.