For faster navigation, this Iframe is preloading the Wikiwand page for Дроби в Юникоде.

Дроби в Юникоде

Материал из Википедии — свободной энциклопедии

Стандарт Юникода предусматривает 2 способа представления обыкновенных дробей в простом тексте: в виде комбинации цифр с форматирующим символом дроби и виде цельных символов.

Комбинация цифр с форматирующим символом дроби

[править | править код]

Форматирующий символ дроби (fraction slash, U+2044) позволяет создавать произвольные дроби следующим образом: последовательность цифр числителя + форматирующий символ дроби + последовательность цифр знаменателя — при выводе на экран или на печать это должно преобразовываться в правильно сформированную дробь. Например, 22⁄371 должна показываться как 22/371 или как (может использоваться как «косая», так и «вертикальная» форма представления дроби)[1].

Для правильного отображения смешанных дробей (наподобие ) целую часть нужно отделять от числителя дробной части подходящим пробелом (например, пробелом нулевой ширины U+200B: 3​6⁄7).

Кроме того, существует символ ⅟ (fraction numerator one, U+215F), позволяющий формировать дроби с числителем, равным 1.

Цельные символы дробей

[править | править код]

Стандарт Юникода версии 6.0 включает 19 цельных символов дробей европейского вида[2]. Соответствующие глифы могут быть как «косыми», так и «вертикальными», в зависимости от шрифта[3].

символ номер значение символ номер значение
¼ U+00BC 1/4 U+2157 3/5
½ U+00BD 1/2 U+2158 4/5
¾ U+00BE 3/4 U+2159 1/6
U+2150 1/7 U+215A 5/6
U+2151 1/9 U+215B 1/8
U+2152 1/10 U+215C 3/8
U+2153 1/3 U+215D 5/8
U+2154 2/3 U+215E 7/8
U+2155 1/5 U+2189 0/3
U+2156 2/5

Символ 0/3 (↉) включён в стандарт, поскольку он используется в бейсболе[4].

Неевропейские символы дробей

[править | править код]

Кроме того, стандарт Юникода 6.0 включает 27 символов дробей для неевропейских систем письма:

номер символ название значение
0B72 oriya fraction one quarter 1/4
0B73 oriya fraction one half 1/2
0B74 oriya fraction three quarters 3/4
0B75 oriya fraction one sixteenth 1/16
0B76 oriya fraction one eighth 1/8
0B77 oriya fraction three sixteenths 3/16
0C78 telugu fraction digit zero for odd powers of four ?
0C79 telugu fraction digit one for odd powers of four ?
0C7A telugu fraction digit two for odd powers of four ?
0C7B telugu fraction digit three for odd powers of four ?
0C7C telugu fraction digit one for even powers of four ?
0C7D telugu fraction digit two for even powers of four ?
0C7E telugu fraction digit three for even powers of four ?
0D73 malayalam fraction one quarter 1/4
0D74 malayalam fraction one half 1/2
0D75 malayalam fraction three quarters 3/4
2CFD coptic fraction one half 1/2
A830 north indic fraction one quarter 1/4
A831 north indic fraction one half 1/2
A832 north indic fraction three quarters 3/4
A833 north indic fraction one sixteenth 1/16
A834 north indic fraction one eighth 1/8
A835 north indic fraction three sixteenths 3/16
10E7B 𐹻 rumi fraction one half 1/2
10E7C 𐹼 rumi fraction one quarter 1/4
10E7D 𐹽 rumi fraction one third 1/3
10E7E 𐹾 rumi fraction two thirds 2/3

Примечания

[править | править код]
  1. The Unicode Standard v. 5.2, глава 6.2 General Punctuation : Other Punctuation. Дата обращения: 1 июля 2010. Архивировано 27 июня 2010 года.
  2. Имена содержат подстроку «VULGAR FRACTION» в файле NamesList.txt Архивная копия от 18 октября 2010 на Wayback Machine
  3. The Unicode Standard v. 5.2, глава 15.3 Number Forms. Дата обращения: 1 июля 2010. Архивировано 27 июня 2010 года.
  4. «used in baseball scoring, from ARIB STD B24», см. примечание к символу 2189 в файле NamesList.txt Архивная копия от 18 октября 2010 на Wayback Machine
{{bottomLinkPreText}} {{bottomLinkText}}
Дроби в Юникоде
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?