Mail Archives: djgpp/1997/12/22/07:07:50
On 22 Dec 1997, Paul Derbyshire wrote:
> Dim Zegebart (zager AT post DOT comstar DOT ru) writes:
> > ...has size 46.393 bytes.
>
> Hrm? Even if there are trailing bits after the last byte, it can only end
> in .125, .25, .375, .5, 625, .75, or .875...not .373. Or did you mean to
> put a comma there? :-)
Where comma is used in the US locale, a dot is used in other locales.
That's what locales are for (and yes, in Russia a dot is used as a
thousands separator and PI is written as 3,14159...). Even DOS knows
about that and returnd this info when you call the appropriate function
of Int 21h.
- Raw text -