Function: SB-UNICODE:DECIMAL-VALUE

package type github

Returns the decimal digit value associated with CHARACTER or NIL if there is no such value.

The only characters in Unicode with a decimal digit value are those that are part of a range of characters that encode the digits 0-9. Because of this, (decimal-digit c) <=> (digit-char-p c 10) in #+sb-unicode builds

Lambda list

(character)