Skip to main content

digit_sum

Function digit_sum 

Source
pub fn digit_sum(number: usize) -> usize
Expand description

Calculates the sum of the digits of a number.