[comp.lang.forth] Decimal Point,Comma,E etc.

NER034@PRIME-A.TEES-POLY.AC.UK (02/22/91)

> >Correct me if I am wrong but I believe the US uses 1,000.00 to represent one
> >thousand while in europe they use 1.000,00 for the same value.

> In german the decimal point is a "Dezimal-Komma".

> That's one of the first things our kids in Germany have to learn about numbers
> in english. (The other one is the billion, which is "Milliarde"=109, in
> contrast to "Billion"=1012 in german :-)

?Yes, and No.  At least in Englend some of us still feal that a Billion is
1012. It is unfortunate that the American way of things is distring a
good system, simply by the number or Americans there are in the world.

?There seams to be a fealing that if it's American is good.  I can name a
hole lode of things where this is simply not the case.

?Secondly, I take Mitch Bradleys point, that we can use the dot notation for
double numbers and E for reals.  In a Forth program.  The new word >FLOAT
has been provided to allow you to input a floating point number in whatever
format you wish it to.  Hence, you can define >FLOAT to accept the decimal
point, decimal comma, or E notation.  Depending on your fancy, or more
properly in the notation that is in keeping with the vendors domestic market.

...

??If we are to stick to a line length, then can we also stop using tabs.  My
?system replaces tabs with ?s so a nicly tabed document comes out left
?justified.
:end of mail.


Peter Knaggs
+-----------------------------+-----------------------------------------------+
! School of Comp. & Maths.,   !    Janet: NER034 @ uk.ac.tees-poly            !
! Teesside Polytechnic,       !   Bitnet: NER034 % tp.ac.uk @ UKACRL          !
! Middlesbrough,              ! Internet: NER034 % tp.ac.uk @ cunyvm.cuny.edu !
! Cleveland, England. TS1 3BA !     Uucp: NER034 % tpoly.ac.uk @ ukc.uucp     !
!-----------------------------+-----------------------------------------------!
! It is not enough to do the right thing; one must also do it the right way.  !
+-----------------------------------------------------------------------------+