makeNumeric

Returns a segment representing the specified string of decimal digits encoded in numeric mode.

Return

a segment (not null) containing the text

Parameters

digits

the text (not null), with only digits from 0 to 9 allowed

Throws

if the string is null

if the string contains non-digit characters