Pudu programming language
Menu
API reference

Std.Math.digitCount

1 declaration

fn

digitCount: T -> Int where T: Ord + Zero + One + Add + Sub + Div

This is a callable function.

What it does

The number of decimal digits, counting a lone nought as one and ignoring a

sign.

Read the signature

  • The text after the name is the type checked by Pudu.
  • Read arrows from left to right: inputs come first, and the final type is returned.

Back to Std.MathSearch related declarations