help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compute ISBN-10, char-to-int?


From: Stefan Monnier
Subject: Re: compute ISBN-10, char-to-int?
Date: Sat, 07 Sep 2019 15:01:40 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>> I must admit that it seems highly unlikely it will change in the
>> foreseeable future, but it's always a possibility
> More than highly unlikely, I'd say.

Agreed.  But even for those paranoid enough to worry about that,
(+ n ?0) and (- c ?0) should be safe ways to convert between a digit
character and its numerical value.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]