I’m trying to get the numeric values (value property) for some non-ASCII code points which are decimal digits (as per Unicode.IsDigit). I believe that in Java you would use getNumericValue, and in .Net GetNumericValue, for example. How can I do this in Go?
Thanks,
John
John Souvestre - New Orleans LA
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Ø IIRC, Unicode.IsDigit checks for the Nd category only. I suspect that other numeric categories will not be accepted in numbers.
Yes, Unicode.IsDigit does identify decimal digits for all of the 23 languages they exist in. These are the only ones I’m interested in. I’m not concerned with the non-decimal numbers.