Posted by Nik Coughlin on 08/07/07 04:37
Nik Coughlin wrote:
> dorayme wrote:
>> I cannot seem to find quickly enough how to write a recurring
>> decimal in HTMl. Anyone please? I am using Unicode UTF-8 for most
>> of my html files but am happy to follow other advice where this
>> recurring decimal point is needed.
>>
>> (you know... the dot on top of the 3 or 6 for the decimal
>> representation of thirds and two thirds).
>
> Repeating decimals can be expressed with ellipsis notation but you
> can also put a vinculum bar over the repeating digits:
> http://en.wikipedia.org/wiki/Vinculum_%28symbol%29
>
> You could do this in css:
>
> <style type="text/css">
> .recurring {
> border-top: 1px solid black;
> }
> </style>
> Recurring decimal: 0.<span class="recurring">6</span>
>
> Not ideal I know (what about people without css, using non-visual
> browsers etc), but if you can't find another way you might want to
> consider it
Ummm text-decoration: overline would be smarter now that I think of it :P
Navigation:
[Reply to this message]
|