USE: math.functions:round instead

18.12.2018, 15:14, "Georg Simon" <georg.si...@auge.de>:
> Below I pasted a result from my listener I do not understand.
>
> The result of sum looks like 137.99 which is right.
> But the integer I made out of it is 13798 which is wrong.
>
> A typed in 137.99 gives the result I expect.
>
> What am I missing ?
> ------------------------------------------------------------------
> Press F1 at any time for help.
> Factor 0.99 x86.64 (1889, heads/master-f77d46f0c8, Dec 1 2018 21:02:41)
> [GCC 7.3.0] on linux
>
> IN: scratchpad { -13.8 -21.8 -3.99 -3.0 -15.7 126.98 -8.9 100.0 -21.8 }
> sum
>
> --- Data stack:
> 137.99
> IN: scratchpad 100 *
>
> --- Data stack:
> 13799.0
> IN: scratchpad >integer .
> 13798
> IN: scratchpad 137.99 100 * >integer .
> 13799

---=====--- 
 Александр



_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to