You could use ``1 mod``:

    IN: scratchpad 123.45038945034895 1 mod .
    0.4503894503489505

    IN: scratchpad -123.45038945034895 1 mod .
    -0.4503894503489505



On Fri, Jul 29, 2016 at 6:41 AM, Alexander Ilin <[email protected]> wrote:

> Hello!
>
>   I can't find the function that would return the fractional part of a
> float in our standard library.
>   I need something to this effect:
> http://www.freepascal.org/docs-html/rtl/system/frac.html
>
>   A little help, please?
>
> ---=====---
>  Александр
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Factor-talk mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
------------------------------------------------------------------------------
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to