GEB
uses different numbers representing various levels of precision.Wad
Ray
Rad
Wad
, Ray
, Rad
to a str
shows the numbers in a friendly format:Wad(1)
is not equal to 1
but to 10^18.Wad
, Ray
, and Rad
can only perform addition, subtraction and division with another Wad
, Ray
, or Rad
Wad
, Ray
, and Rad
can be multiplied by any Wad
, Ray
, and Rad
and int
.Wad
, Ray
, and Rad
all accept Wad
, Ray
, and Rad
in the constructors. This is the canonical way to convert numbers:Rad
to Ray
/Wad
or Ray
to Wad
) you may lose precision!