Computes the sum of digits in one number

digitsum(x)

Arguments

x

numeric; any numeric