Page 1 of 1
codePointToNum Hex
Posted: Mon Jul 13, 2020 12:58 pm
by richmond62
If I do this sort of thing:
I get 1512, the decimal equivalent of the hexadecimal Unicode number for that character ('resh').
How do I get 0x5E8, the hexadecimal?
Re: codePointToNum Hex
Posted: Mon Jul 13, 2020 2:06 pm
by Klaus
Hi Richmond,
use the baseconvert() function.
Code: Select all
...
put codePointToNum("ך") into tDecimalNum
put baseconvert(tDecimalNum,10,16) into tHexNum
## -> 5E8
...
Best
Klaus
Re: codePointToNum Hex
Posted: Mon Jul 13, 2020 3:16 pm
by richmond62
Great: Thanks.
-
Re: codePointToNum Hex
Posted: Wed Jul 15, 2020 2:49 pm
by richmond62
-
My friend with 37 fingers was severely disappointed.