mirror of
https://github.com/kennethreitz/pydantic.git
synced 2026-06-05 23:00:18 +00:00
55fd51fbdf
ByteSize can only represent whole number of bytes, so displaying a decimal would be misleading and doesn't really make sense in most cases where ByteSize is used. Outside pure mathematics, it is very rare to use non-whole number bytes. Co-authored-by: Samuel Colvin <s@muelcolvin.com>