factor/extra/math/text/utils/utils-docs.factor

7 lines
343 B
Factor
Raw Normal View History

2014-05-24 20:16:26 -04:00
USING: help.markup help.syntax sequences ;
IN: math.text.utils
HELP: digit-groups
2014-05-24 20:16:26 -04:00
{ $values { "n" "a positive integer" } { "k" "a positive integer" } { "seq" sequence } }
{ $description "Decompose a number into groups of " { $snippet "k" } " digits and return them in a sequence starting with the least significant grouped digits first." } ;