On 10/18/2026 6:09 PM, dxf wrote:
> It appears ROUND() is a fairly common function. I created it using
> a factor from REPRESENT. Are there other ways implementing it?
>
>
> \ SCALE ( r1 n -- r2 ) scale r1 left/right by n digits
>
> : ROUND ( r1 n -- r2 )
> >r fbad? if 2drop rdrop end
> r@ scale fround r> negate scale ;
[..]
Interesting. Please show your current SCALE and fbad? words.
-marcel