Problem? with float()
chris hermansen
clhermansen@gmail.com
Wed Mar 11 20:17:57 GMT 2026
Hello everyone,
I am having a problem printing anything beyond one or more asterisks with
the float proc.
At first I thought it was just my inexperience / ignorance, so I tried some
examples from McGettrick:
begin
puts(float(123.4567,12,5,2));
puts("'n");
puts(float(123.4567,-10,5,-1));
puts("'n");
skip
end
He suggests this should produce
+12.34567e+1
1.23457e2 (blank just in front)
Am I missing something? Thanks in advance!
--
Chris Hermansen · clhermansen "at" gmail "dot" com
C'est ma façon de parler.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://gcc.gnu.org/pipermail/algol68/attachments/20260311/61beda5c/attachment.htm>
More information about the Algol68
mailing list