ray_to_wad
Casts ray down to wad
Arguments
- a Ray
Returns
- a converted to wad, rounded half up to the nearest wad
Fully qualified path: alexandria_math::wad_ray_math::ray_to_wad
pub fn ray_to_wad(a: u256) -> u256
Press ← or → to navigate between chapters
Press ? to show this help
Press Esc to hide this help
Casts ray down to wad
Fully qualified path: alexandria_math::wad_ray_math::ray_to_wad
pub fn ray_to_wad(a: u256) -> u256