Skip to main content

div

Function div 

Source
pub fn div(left: &Value, right: &Value, line: u32) -> Result<Value, BopError>
Expand description

/ always returns a Number, even for Int / Int. Matches Python’s / and sidesteps the “1 / 2 == 0” surprise.