in reply to Re: frac12 to decimal
in thread frac12 to decimal
Contains the following key value pairs that seem to govern this behaviour.%entity2char
Presumably chr(188) and its brethren are taken straight from the HTML, then fracNN to which it is mapped is somehow translated to display as the tiny one character wide fraction symbol. But stating:frac14 => chr(188), frac12 => chr(189), frac34 => chr(190),
Does not seem to change that behaviour?# switch package package HTML::Entities; $entity2char{frac14} = '.25'; $entity2char{frac12} = '.5'; $entity2char{frac34} = '.75'; # switch back to your package package main; # go on with your code
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: frac12 to decimal
by karoshi (Novice) on Feb 10, 2009 at 00:06 UTC | |
|
Re^3: frac12 to decimal
by Anonymous Monk on Feb 10, 2009 at 00:45 UTC |