square root character/symbol

我是研究僧i 提交于 2019-11-29 12:09:13

Take a look at the Unicode character charts at http://www.unicode.org/charts/

See also http://www.google.com/search?q=square+root+character - you might find what you're looking for as the very first hit...

DaMainBoss

I am sure it's \u221A. Try it out or try googling it, and you might end up with something else (I mean a list of others).

EDIT: This would be helpful --> https://www.fileformat.info/info/unicode/char/search.htm

I found it. click here, this site has more unicode mathematical symbols than I was previously aware of. On the right of the page is what you want, its a hexidecimal number, here's how you would get the unicode character from the hexidecimal number in java.

char[] LESS_THAN = Character.toChars(0x3c);

Basically you're replacing the two symbols at the beginning (I forgot what they were already) with a 0 and passing it into that method. I believe 0x003c is the same value, 60 I think but I'm probably wrong about that, and I don't think its case sensitive so a capital 'c' should work as well. Hope that helped, good luck.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!